diff --git a/ChangeLog.md b/ChangeLog.md index b58764902dc7..30180d017260 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -51,6 +51,13 @@ * Set-AzureVMSqlServerExtension * Get-AzureVMSqlServerExtension * Remove-AzureVMSqlServerExtension +* Azure SQL Database Index Recommendation Cmdlets + * Get-AzureSqlDatabaseIndexRecommendations + * Start-AzureSqlDatabaseExecuteIndexRecommendation + * Stop-AzureSqlDatabaseExecuteIndexRecommendation +* Azure SQL Database and Server Upgrade Hints Cmdlets + * Get-AzureSqlDatabaseUpgradeHint + * Get-AzureSqlServerUpgradeHint ## 2015.08.17 version 0.9.7 * Azure Profile cmdlets diff --git a/setup-powershellget/Setup/ShortcutStartup.ps1 b/setup-powershellget/Setup/ShortcutStartup.ps1 index 9d2228f0d5a6..674eed639271 100644 --- a/setup-powershellget/Setup/ShortcutStartup.ps1 +++ b/setup-powershellget/Setup/ShortcutStartup.ps1 @@ -56,8 +56,10 @@ This may take some time... } else { cd c:\ $welcomeMessage = @" -For a list of all Azure cmdlets type 'help azure'. -For a list of Azure Pack cmdlets type 'Get-Command *wapack*'. +For a list of all Azure RM cmdlets type 'help azurerm'. + +To start using Azure RM login via Login-AzureRmAccount cmdlet. +To switch between subscriptions use Set-AzureRmContext. To use Azure Service Management cmdlets please execute the following cmdlet: Install-Module Azure diff --git a/src/Common/Storage/Azure.Storage.psd1 b/src/Common/Storage/Azure.Storage.psd1 index 54f4e2bea750..70e49fec200a 100644 --- a/src/Common/Storage/Azure.Storage.psd1 +++ b/src/Common/Storage/Azure.Storage.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '00612bca-fa22-401d-a671-9cc48b010e3b' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - Storage' @@ -45,7 +45,7 @@ CLRVersion='4.0' ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }) +RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() diff --git a/src/Common/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.psd1 b/src/Common/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.psd1 index 629cc56833d1..19c0010da379 100644 --- a/src/Common/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.psd1 +++ b/src/Common/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '?Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ResourceManager/ApiManagement/AzureRM.ApiManagement.psd1 b/src/ResourceManager/ApiManagement/AzureRM.ApiManagement.psd1 index a1e9f526253c..dc100a7d7ed5 100644 --- a/src/ResourceManager/ApiManagement/AzureRM.ApiManagement.psd1 +++ b/src/ResourceManager/ApiManagement/AzureRM.ApiManagement.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'f875725d-8ce4-423f-a6af-ea880bc63f13' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - Api Management' @@ -45,7 +45,7 @@ CLRVersion='4.0' ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }) +RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.psd1 b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.psd1 index 19b334a59394..1ebd2d8198ef 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.psd1 +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.0.1' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '77A7B3B3-A067-4173-9AC9-8A7248EF3C1C' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '?Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Microsoft.Azure.Commands.ApiManagement.dll-help.psd1 b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Microsoft.Azure.Commands.ApiManagement.dll-help.psd1 index 05b2bd7f062a..0b716c4ee335 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Microsoft.Azure.Commands.ApiManagement.dll-help.psd1 +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Microsoft.Azure.Commands.ApiManagement.dll-help.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.0.1' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '77A7B3B3-A067-4173-9AC9-8A7248EF3C1C' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '?Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ResourceManager/Automation/AzureRM.Automation.psd1 b/src/ResourceManager/Automation/AzureRM.Automation.psd1 index 32e34ec0000c..1fa668e4ee6b 100644 --- a/src/ResourceManager/Automation/AzureRM.Automation.psd1 +++ b/src/ResourceManager/Automation/AzureRM.Automation.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'bcea1c70-a32b-48c3-a05c-323e1c02f4d3' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - Automation' @@ -45,7 +45,7 @@ CLRVersion='4.0' ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }) +RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/packages.config b/src/ResourceManager/Automation/Commands.Automation.Test/packages.config index 8b5713e969f3..222b03afb390 100644 --- a/src/ResourceManager/Automation/Commands.Automation.Test/packages.config +++ b/src/ResourceManager/Automation/Commands.Automation.Test/packages.config @@ -16,7 +16,6 @@ - diff --git a/src/ResourceManager/Automation/Commands.Automation/Microsoft.Azure.Commands.ResourceManager.Automation.dll-help.psd1 b/src/ResourceManager/Automation/Commands.Automation/Microsoft.Azure.Commands.ResourceManager.Automation.dll-help.psd1 index af863f636d1c..10184949a318 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Microsoft.Azure.Commands.ResourceManager.Automation.dll-help.psd1 +++ b/src/ResourceManager/Automation/Commands.Automation/Microsoft.Azure.Commands.ResourceManager.Automation.dll-help.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '?Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ResourceManager/AzureBackup/AzureRM.Backup.psd1 b/src/ResourceManager/AzureBackup/AzureRM.Backup.psd1 index 41305a372432..8f9ce8488534 100644 --- a/src/ResourceManager/AzureBackup/AzureRM.Backup.psd1 +++ b/src/ResourceManager/AzureBackup/AzureRM.Backup.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '0b1d76f5-a928-4b8f-9c83-df26947568d4' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - AzureBackup' @@ -45,7 +45,7 @@ CLRVersion='4.0' ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }) +RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/Commands.AzureBackup.Test.csproj b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/Commands.AzureBackup.Test.csproj index 3e5033a2462f..e6de3e29ac97 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/Commands.AzureBackup.Test.csproj +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/Commands.AzureBackup.Test.csproj @@ -40,7 +40,8 @@ True - ..\..\..\packages\Microsoft.Azure.Management.BackupServices.1.0.4-preview\lib\net40\Microsoft.Azure.Management.BackupServicesManagement.dll + False + ..\..\..\packages\Microsoft.Azure.Management.BackupServices.1.0.5-preview\lib\net40\Microsoft.Azure.Management.BackupServicesManagement.dll False diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/packages.config b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/packages.config index 24eeae4af6aa..d0d223c6e304 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/packages.config +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/packages.config @@ -4,7 +4,7 @@ - + diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/EnableAzureRMBackupContainerReregistration.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/EnableAzureRMBackupContainerReregistration.cs index 7918dc778980..24b170af1d89 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/EnableAzureRMBackupContainerReregistration.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/EnableAzureRMBackupContainerReregistration.cs @@ -46,6 +46,8 @@ protected override void ProcessRecord() { case AzureBackupContainerType.Windows: case AzureBackupContainerType.SCDPM: + case AzureBackupContainerType.AzureBackupServer: + case AzureBackupContainerType.Other: AzureBackupClient.EnableMachineContainerReregistration(Container.ResourceGroupName, Container.ResourceName, Container.Id); break; default: diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureRMBackupContainer.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureRMBackupContainer.cs index 35c2d8e30b15..1bb691991d18 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureRMBackupContainer.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureRMBackupContainer.cs @@ -60,6 +60,8 @@ protected override void ProcessRecord() { case AzureBackupContainerType.Windows: case AzureBackupContainerType.SCDPM: + case AzureBackupContainerType.AzureBackupServer: + case AzureBackupContainerType.Other: containers.AddRange(GetMachineContainers(Vault.ResourceGroupName, Vault.Name)); break; case AzureBackupContainerType.AzureVM: diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureRMBackupContainer.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureRMBackupContainer.cs index fd3bf7d509f4..e4a09401574f 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureRMBackupContainer.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureRMBackupContainer.cs @@ -47,6 +47,8 @@ protected override void ProcessRecord() { case AzureBackupContainerType.Windows: case AzureBackupContainerType.SCDPM: + case AzureBackupContainerType.AzureBackupServer: + case AzureBackupContainerType.Other: DeleteServer(); break; case AzureBackupContainerType.AzureVM: diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj index c6a6460dfc96..aec29b762da4 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj @@ -57,7 +57,8 @@ ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll - ..\..\..\packages\Microsoft.Azure.Management.BackupServices.1.0.4-preview\lib\net40\Microsoft.Azure.Management.BackupServicesManagement.dll + False + ..\..\..\packages\Microsoft.Azure.Management.BackupServices.1.0.5-preview\lib\net40\Microsoft.Azure.Management.BackupServicesManagement.dll False diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ContainerHelpers.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ContainerHelpers.cs index 67d011686ac0..b0fa09138368 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ContainerHelpers.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ContainerHelpers.cs @@ -38,33 +38,37 @@ internal class ContainerHelpers { private static readonly Regex ResourceGroupRegex = new Regex(@"/subscriptions/(?.+)/resourceGroups/(?.+)/providers/(?.+)/BackupVault/(?.+)/containers/(?.+)", RegexOptions.Compiled); - internal static AzureBackupContainerType GetContainerType(string customerType) + internal static AzureBackupContainerType GetContainerType(string customerTypeString) { - CustomerType type = (CustomerType)Enum.Parse(typeof(CustomerType), customerType); - AzureBackupContainerType containerType = 0; + CustomerType customerType = CustomerType.Invalid; - switch (type) + if (Enum.TryParse(customerTypeString, out customerType)) { - case CustomerType.DPM: - containerType = AzureBackupContainerType.SCDPM; - break; - case CustomerType.InMage: - break; - case CustomerType.Invalid: - break; - case CustomerType.ManagedContainer: - break; - case CustomerType.OBS: - containerType = AzureBackupContainerType.Windows; - break; - case CustomerType.SBS: - containerType = AzureBackupContainerType.Windows; - break; - case CustomerType.SqlPaaS: - break; - default: - break; + switch (customerType) + { + case CustomerType.DPM: + containerType = AzureBackupContainerType.SCDPM; + break; + case CustomerType.OBS: + containerType = AzureBackupContainerType.Windows; + break; + case CustomerType.SBS: + containerType = AzureBackupContainerType.Windows; + break; + case CustomerType.DPMVenus: + containerType = AzureBackupContainerType.AzureBackupServer; + break; + case CustomerType.Invalid: + break; + default: + containerType = AzureBackupContainerType.Other; + break; + } + } + else if (!string.IsNullOrEmpty(customerTypeString)) + { + containerType = AzureBackupContainerType.Other; } return containerType; diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.dll-help.psd1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.dll-help.psd1 index 7abd2c521bb9..0a5fbe79cd1d 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.dll-help.psd1 +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.dll-help.psd1 @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '© Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupEnums.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupEnums.cs index a4c6156f6d8c..a5e33721c26c 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupEnums.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupEnums.cs @@ -25,6 +25,8 @@ public enum AzureBackupContainerType Windows = 1, SCDPM, AzureVM, + AzureBackupServer, + Other, } public enum DataSourceType diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/packages.config b/src/ResourceManager/AzureBackup/Commands.AzureBackup/packages.config index ec875e2b5092..eec44ee711d4 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/packages.config +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/packages.config @@ -4,7 +4,7 @@ - + diff --git a/src/ResourceManager/AzureBatch/AzureRM.Batch.psd1 b/src/ResourceManager/AzureBatch/AzureRM.Batch.psd1 index 6c0804d62743..18db766319dd 100644 --- a/src/ResourceManager/AzureBatch/AzureRM.Batch.psd1 +++ b/src/ResourceManager/AzureBatch/AzureRM.Batch.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'a8f00f40-1c1a-49b5-9db3-24076b75c3cf' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - Batch' @@ -45,7 +45,7 @@ CLRVersion='4.0' ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }) +RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/BatchTestHelpers.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/BatchTestHelpers.cs index c1ee935411bd..ae97b2d4de8d 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/BatchTestHelpers.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/BatchTestHelpers.cs @@ -12,16 +12,15 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System.Linq; -using System.Net; -using System.Threading.Tasks; using Microsoft.Azure.Batch; using Microsoft.Azure.Batch.Protocol; using Microsoft.Azure.Management.Batch.Models; using System; using System.Collections; using System.Collections.Generic; +using System.Net; using System.Reflection; +using System.Threading.Tasks; using Xunit; using ProxyModels = Microsoft.Azure.Batch.Protocol.Models; diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Commands.Batch.Test.csproj b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Commands.Batch.Test.csproj index 30baf1aaffef..91c6b1476f32 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Commands.Batch.Test.csproj +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Commands.Batch.Test.csproj @@ -280,6 +280,9 @@ Always + + Always + Always @@ -382,6 +385,9 @@ Always + + Always + Always @@ -415,6 +421,9 @@ Always + + Always + Always @@ -472,6 +481,9 @@ Always + + Always + Always @@ -511,6 +523,9 @@ Always + + Always + Always diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/GetBatchComputeNodeCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/GetBatchComputeNodeCommandTests.cs index d4c9999bb166..4e49f74e66c5 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/GetBatchComputeNodeCommandTests.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/GetBatchComputeNodeCommandTests.cs @@ -21,6 +21,7 @@ using System.Collections.Generic; using System.Linq; using System.Management.Automation; +using System.Threading.Tasks; using Xunit; using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient; @@ -72,39 +73,63 @@ public void GetBatchComputeNodeTest() [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] - public void ListBatchComputeNodesByODataFilterTest() + public void GetBatchComputeNodeODataTest() { - // Setup cmdlet to list vms using an OData filter. + // Setup cmdlet to get a single compute node BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); cmdlet.BatchContext = context; - cmdlet.PoolId = "pool"; - cmdlet.Id = null; - cmdlet.Filter = "state -eq 'idle'"; + cmdlet.PoolId = "testPool"; + cmdlet.Id = "computeNode1"; + cmdlet.Select = "id,state"; - string[] idsOfConstructedComputeNodes = new[] { "computeNode1", "computeNode2" }; + string requestSelect = null; - // Build some compute nodes instead of querying the service on a List ComputeNodes call - ComputeNodeListResponse response = BatchTestHelpers.CreateComputeNodeListResponse(idsOfConstructedComputeNodes); - RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response); - cmdlet.AdditionalBehaviors = new List() { interceptor }; + // Fetch the OData clauses off the request. The OData clauses are applied after user provided RequestInterceptors, so a ResponseInterceptor is used. + ComputeNodeGetResponse getResponse = BatchTestHelpers.CreateComputeNodeGetResponse(cmdlet.Id); + RequestInterceptor requestInterceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(getResponse); + ResponseInterceptor responseInterceptor = new ResponseInterceptor((response, request) => + { + requestSelect = request.Parameters.DetailLevel.SelectClause; - // Setup the cmdlet to write pipeline output to a list that can be examined later - List pipeline = new List(); - commandRuntimeMock.Setup(r => - r.WriteObject(It.IsAny())) - .Callback(c => pipeline.Add((PSComputeNode)c)); + return Task.FromResult(response); + }); + cmdlet.AdditionalBehaviors = new List() { requestInterceptor, responseInterceptor }; cmdlet.ExecuteCmdlet(); - // Verify that the cmdlet wrote the constructed compute nodes to the pipeline - Assert.Equal(2, pipeline.Count); - int computeNodeCount = 0; - foreach (PSComputeNode c in pipeline) + Assert.Equal(cmdlet.Select, requestSelect); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void ListBatchComputeNodesODataTest() + { + // Setup cmdlet to list compute nodes using an OData filter + BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); + cmdlet.BatchContext = context; + cmdlet.PoolId = "testPool"; + cmdlet.Id = null; + cmdlet.Filter = "startswith(id,'test')"; + cmdlet.Select = "id,state"; + + string requestFilter = null; + string requestSelect = null; + + // Fetch the OData clauses off the request. The OData clauses are applied after user provided RequestInterceptors, so a ResponseInterceptor is used. + RequestInterceptor requestInterceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(); + ResponseInterceptor responseInterceptor = new ResponseInterceptor((response, request) => { - Assert.True(idsOfConstructedComputeNodes.Contains(c.Id)); - computeNodeCount++; - } - Assert.Equal(idsOfConstructedComputeNodes.Length, computeNodeCount); + requestFilter = request.Parameters.DetailLevel.FilterClause; + requestSelect = request.Parameters.DetailLevel.SelectClause; + + return Task.FromResult(response); + }); + cmdlet.AdditionalBehaviors = new List() { requestInterceptor, responseInterceptor }; + + cmdlet.ExecuteCmdlet(); + + Assert.Equal(cmdlet.Filter, requestFilter); + Assert.Equal(cmdlet.Select, requestSelect); } [Fact] diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/GetBatchJobScheduleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/GetBatchJobScheduleCommandTests.cs index 0f18fed55185..fea31fad955a 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/GetBatchJobScheduleCommandTests.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/GetBatchJobScheduleCommandTests.cs @@ -21,6 +21,7 @@ using System.Collections.Generic; using System.Linq; using System.Management.Automation; +using System.Threading.Tasks; using Xunit; using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient; @@ -71,38 +72,69 @@ public void GetBatchJobScheduleTest() [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] - public void ListBatchJobScheduleByODataFilterTest() + public void GetBatchJobScheduleODataTest() + { + // Setup cmdlet to get a single job schedule + BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); + cmdlet.BatchContext = context; + cmdlet.Id = "testJobSchedule"; + cmdlet.Select = "id,state"; + cmdlet.Expand = "stats"; + + string requestSelect = null; + string requestExpand = null; + + // Fetch the OData clauses off the request. The OData clauses are applied after user provided RequestInterceptors, so a ResponseInterceptor is used. + CloudJobScheduleGetResponse getResponse = BatchTestHelpers.CreateCloudJobScheduleGetResponse(cmdlet.Id); + RequestInterceptor requestInterceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(getResponse); + ResponseInterceptor responseInterceptor = new ResponseInterceptor((response, request) => + { + requestSelect = request.Parameters.DetailLevel.SelectClause; + requestExpand = request.Parameters.DetailLevel.ExpandClause; + + return Task.FromResult(response); + }); + cmdlet.AdditionalBehaviors = new List() { requestInterceptor, responseInterceptor }; + + cmdlet.ExecuteCmdlet(); + + Assert.Equal(cmdlet.Select, requestSelect); + Assert.Equal(cmdlet.Expand, requestExpand); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void ListBatchJobSchedulesODataTest() { // Setup cmdlet to list job schedules using an OData filter BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); cmdlet.BatchContext = context; cmdlet.Id = null; cmdlet.Filter = "startswith(id,'test')"; + cmdlet.Select = "id,state"; + cmdlet.Expand = "stats"; - string[] idsOfConstructedJobSchedules = new[] { "test1", "test2" }; + string requestFilter = null; + string requestSelect = null; + string requestExpand = null; - // Build some CloudJobSchedules instead of querying the service on a List CloudJobSchedules call - CloudJobScheduleListResponse response = BatchTestHelpers.CreateCloudJobScheduleListResponse(idsOfConstructedJobSchedules); - RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response); - cmdlet.AdditionalBehaviors = new List() { interceptor }; + // Fetch the OData clauses off the request. The OData clauses are applied after user provided RequestInterceptors, so a ResponseInterceptor is used. + RequestInterceptor requestInterceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(); + ResponseInterceptor responseInterceptor = new ResponseInterceptor((response, request) => + { + requestFilter = request.Parameters.DetailLevel.FilterClause; + requestSelect = request.Parameters.DetailLevel.SelectClause; + requestExpand = request.Parameters.DetailLevel.ExpandClause; - // Setup the cmdlet to write pipeline output to a list that can be examined later - List pipeline = new List(); - commandRuntimeMock.Setup(r => - r.WriteObject(It.IsAny())) - .Callback(j => pipeline.Add((PSCloudJobSchedule)j)); + return Task.FromResult(response); + }); + cmdlet.AdditionalBehaviors = new List() { requestInterceptor, responseInterceptor }; cmdlet.ExecuteCmdlet(); - // Verify that the cmdlet wrote the constructed job schedules to the pipeline - Assert.Equal(2, pipeline.Count); - int jobScheduleCount = 0; - foreach (PSCloudJobSchedule j in pipeline) - { - Assert.True(idsOfConstructedJobSchedules.Contains(j.Id)); - jobScheduleCount++; - } - Assert.Equal(idsOfConstructedJobSchedules.Length, jobScheduleCount); + Assert.Equal(cmdlet.Filter, requestFilter); + Assert.Equal(cmdlet.Select, requestSelect); + Assert.Equal(cmdlet.Expand, requestExpand); } [Fact] diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/GetBatchJobCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/GetBatchJobCommandTests.cs index 8711daf704a4..db4e690641f2 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/GetBatchJobCommandTests.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/GetBatchJobCommandTests.cs @@ -21,6 +21,7 @@ using System.Collections.Generic; using System.Linq; using System.Management.Automation; +using System.Threading.Tasks; using Xunit; using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient; @@ -71,39 +72,69 @@ public void GetBatchJobTest() [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] - public void ListBatchJobsByODataFilterTest() + public void GetBatchJobODataTest() { - // Setup cmdlet to list jobs using an OData filter. Use JobScheduleId input. + // Setup cmdlet to get a single job BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); cmdlet.BatchContext = context; - cmdlet.JobScheduleId = "jobSchedule"; - cmdlet.Id = null; - cmdlet.Filter = "state -eq 'active'"; + cmdlet.Id = "testJob"; + cmdlet.Select = "id,state"; + cmdlet.Expand = "stats"; - string[] idsOfConstructedJobs = new[] { "job-1", "job-2" }; + string requestSelect = null; + string requestExpand = null; - // Build some CloudJobs instead of querying the service on a List CloudJobs call - CloudJobListResponse response = BatchTestHelpers.CreateCloudJobListResponse(idsOfConstructedJobs); - RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response); - cmdlet.AdditionalBehaviors = new List() { interceptor }; + // Fetch the OData clauses off the request. The OData clauses are applied after user provided RequestInterceptors, so a ResponseInterceptor is used. + CloudJobGetResponse getResponse = BatchTestHelpers.CreateCloudJobGetResponse(cmdlet.Id); + RequestInterceptor requestInterceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(getResponse); + ResponseInterceptor responseInterceptor = new ResponseInterceptor((response, request) => + { + requestSelect = request.Parameters.DetailLevel.SelectClause; + requestExpand = request.Parameters.DetailLevel.ExpandClause; - // Setup the cmdlet to write pipeline output to a list that can be examined later - List pipeline = new List(); - commandRuntimeMock.Setup(r => - r.WriteObject(It.IsAny())) - .Callback(j => pipeline.Add((PSCloudJob)j)); + return Task.FromResult(response); + }); + cmdlet.AdditionalBehaviors = new List() { requestInterceptor, responseInterceptor }; cmdlet.ExecuteCmdlet(); - // Verify that the cmdlet wrote the constructed jobs to the pipeline - Assert.Equal(2, pipeline.Count); - int jobCount = 0; - foreach (PSCloudJob j in pipeline) + Assert.Equal(cmdlet.Select, requestSelect); + Assert.Equal(cmdlet.Expand, requestExpand); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void ListBatchJobsODataTest() + { + // Setup cmdlet to list job using an OData filter + BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); + cmdlet.BatchContext = context; + cmdlet.Id = null; + cmdlet.Filter = "startswith(id,'test')"; + cmdlet.Select = "id,state"; + cmdlet.Expand = "stats"; + + string requestFilter = null; + string requestSelect = null; + string requestExpand = null; + + // Fetch the OData clauses off the request. The OData clauses are applied after user provided RequestInterceptors, so a ResponseInterceptor is used. + RequestInterceptor requestInterceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(); + ResponseInterceptor responseInterceptor = new ResponseInterceptor((response, request) => { - Assert.True(idsOfConstructedJobs.Contains(j.Id)); - jobCount++; - } - Assert.Equal(idsOfConstructedJobs.Length, jobCount); + requestFilter = request.Parameters.DetailLevel.FilterClause; + requestSelect = request.Parameters.DetailLevel.SelectClause; + requestExpand = request.Parameters.DetailLevel.ExpandClause; + + return Task.FromResult(response); + }); + cmdlet.AdditionalBehaviors = new List() { requestInterceptor, responseInterceptor }; + + cmdlet.ExecuteCmdlet(); + + Assert.Equal(cmdlet.Filter, requestFilter); + Assert.Equal(cmdlet.Select, requestSelect); + Assert.Equal(cmdlet.Expand, requestExpand); } [Fact] diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/GetBatchPoolCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/GetBatchPoolCommandTests.cs index 6604ce3a489b..3948cb35d4ae 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/GetBatchPoolCommandTests.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/GetBatchPoolCommandTests.cs @@ -18,9 +18,11 @@ using Microsoft.Azure.Commands.Batch.Models; using Microsoft.WindowsAzure.Commands.ScenarioTest; using Moq; +using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation; +using System.Threading.Tasks; using Xunit; using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient; @@ -71,38 +73,69 @@ public void GetBatchPoolTest() [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] - public void ListBatchPoolByODataFilterTest() + public void GetBatchPoolODataTest() + { + // Setup cmdlet to get a single pool + BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); + cmdlet.BatchContext = context; + cmdlet.Id = "testPool"; + cmdlet.Select = "id,state"; + cmdlet.Expand = "stats"; + + string requestSelect = null; + string requestExpand = null; + + // Fetch the OData clauses off the request. The OData clauses are applied after user provided RequestInterceptors, so a ResponseInterceptor is used. + CloudPoolGetResponse getResponse = BatchTestHelpers.CreateCloudPoolGetResponse(cmdlet.Id); + RequestInterceptor requestInterceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(getResponse); + ResponseInterceptor responseInterceptor = new ResponseInterceptor((response, request) => + { + requestSelect = request.Parameters.DetailLevel.SelectClause; + requestExpand = request.Parameters.DetailLevel.ExpandClause; + + return Task.FromResult(response); + }); + cmdlet.AdditionalBehaviors = new List() { requestInterceptor, responseInterceptor }; + + cmdlet.ExecuteCmdlet(); + + Assert.Equal(cmdlet.Select, requestSelect); + Assert.Equal(cmdlet.Expand, requestExpand); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void ListBatchPoolsODataTest() { // Setup cmdlet to list pools using an OData filter BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); cmdlet.BatchContext = context; cmdlet.Id = null; cmdlet.Filter = "startswith(id,'test')"; + cmdlet.Select = "id,state"; + cmdlet.Expand = "stats"; - string[] idsOfConstructedPools = new[] { "test1", "test2" }; + string requestFilter = null; + string requestSelect = null; + string requestExpand = null; - // Build some CloudPools instead of querying the service on a List CloudPools call - CloudPoolListResponse response = BatchTestHelpers.CreateCloudPoolListResponse(idsOfConstructedPools); - RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response); - cmdlet.AdditionalBehaviors = new List() { interceptor }; + // Fetch the OData clauses off the request. The OData clauses are applied after user provided RequestInterceptors, so a ResponseInterceptor is used. + RequestInterceptor requestInterceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(); + ResponseInterceptor responseInterceptor = new ResponseInterceptor((response, request) => + { + requestFilter = request.Parameters.DetailLevel.FilterClause; + requestSelect = request.Parameters.DetailLevel.SelectClause; + requestExpand = request.Parameters.DetailLevel.ExpandClause; - // Setup the cmdlet to write pipeline output to a list that can be examined later - List pipeline = new List(); - commandRuntimeMock.Setup(r => - r.WriteObject(It.IsAny())) - .Callback(p => pipeline.Add((PSCloudPool)p)); + return Task.FromResult(response); + }); + cmdlet.AdditionalBehaviors = new List() { requestInterceptor, responseInterceptor }; cmdlet.ExecuteCmdlet(); - // Verify that the cmdlet wrote the constructed pools to the pipeline - Assert.Equal(2, pipeline.Count); - int poolCount = 0; - foreach (PSCloudPool p in pipeline) - { - Assert.True(idsOfConstructedPools.Contains(p.Id)); - poolCount++; - } - Assert.Equal(idsOfConstructedPools.Length, poolCount); + Assert.Equal(cmdlet.Filter, requestFilter); + Assert.Equal(cmdlet.Select, requestSelect); + Assert.Equal(cmdlet.Expand, requestExpand); } [Fact] diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.cs index e5e1f959ace6..23dc40667b5d 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.cs @@ -57,6 +57,25 @@ public void TestListComputeNodesByFilter() TestUtilities.GetCurrentMethodName()); } + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetAndListComputeNodesWithSelect() + { + BatchController controller = BatchController.NewInstance; + BatchAccountContext context = null; + string computeNodeId = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-GetAndListComputeNodesWithSelect '{0}' '{1}' '{2}'", accountName, poolId, computeNodeId) }; }, + () => + { + context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + computeNodeId = ScenarioTestHelpers.GetComputeNodeId(controller, context, poolId); + }, + null, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestListComputeNodesWithMaxCount() diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.ps1 index a06c4b33b67b..5e24eb7321f4 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.ps1 +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.ps1 @@ -63,6 +63,38 @@ function Test-ListComputeNodesByFilter } } +<# +.SYNOPSIS +Tests querying for compute nodes using a select clause +#> +function Test-GetAndListComputeNodesWithSelect +{ + param([string]$accountName, [string]$poolId, [string]$computeNodeId) + + $context = Get-AzureRmBatchAccountKeys -Name $accountName + $filter = "id eq '$computeNodeId'" + $selectClause = "id,state" + + # Test with Get compute node API + $computeNode = Get-AzureBatchComputeNode_ST $poolId $computeNodeId -BatchContext $context + Assert-AreNotEqual $null $computeNode.IPAddress + Assert-AreEqual $computeNodeId $computeNode.Id + + $computeNode = Get-AzureBatchComputeNode_ST $poolId $computeNodeId -Select $selectClause -BatchContext $context + Assert-AreEqual $null $computeNode.IPAddress + Assert-AreEqual $computeNodeId $computeNode.Id + + # Test with List compute nodes API + $pool = Get-AzureBatchPool_ST $poolId -BatchContext $context + $computeNode = $pool | Get-AzureBatchComputeNode_ST -Filter $filter -BatchContext $context + Assert-AreNotEqual $null $computeNode.IPAddress + Assert-AreEqual $computeNodeId $computeNode.Id + + $computeNode = $pool | Get-AzureBatchComputeNode_ST -Filter $filter -Select $selectClause -BatchContext $context + Assert-AreEqual $null $computeNode.IPAddress + Assert-AreEqual $computeNodeId $computeNode.Id +} + <# .SYNOPSIS Tests querying for Batch compute nodes and supplying a max count diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.cs index dd55ac4e7984..78c4fc73cdd5 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.cs @@ -86,6 +86,28 @@ public void TestListJobSchedulesByFilter() TestUtilities.GetCurrentMethodName()); } + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetAndListJobSchedulesWithSelect() + { + BatchController controller = BatchController.NewInstance; + BatchAccountContext context = null; + string jobScheduleId = "selectTest"; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-GetAndListJobSchedulesWithSelect '{0}' '{1}'", accountName, jobScheduleId) }; }, + () => + { + context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + ScenarioTestHelpers.CreateTestJobSchedule(controller, context, jobScheduleId, null); + }, + () => + { + ScenarioTestHelpers.DeleteJobSchedule(controller, context, jobScheduleId); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestListJobSchedulesWithMaxCount() diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.ps1 index 24d61fd55cdd..ddbaed7ae713 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.ps1 +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.ps1 @@ -300,6 +300,37 @@ function Test-ListJobSchedulesByFilter } } +<# +.SYNOPSIS +Tests querying for Batch job schedules using a select clause +#> +function Test-GetAndListJobSchedulesWithSelect +{ + param([string]$accountName, [string]$jobScheduleId) + + $context = Get-AzureRmBatchAccountKeys -Name $accountName + $filter = "id eq '$jobScheduleId'" + $selectClause = "id,state" + + # Test with Get job schedule API + $jobSchedule = Get-AzureBatchJobSchedule_ST $jobScheduleId -BatchContext $context + Assert-AreNotEqual $null $jobSchedule.ExecutionInformation + Assert-AreEqual $jobScheduleId $jobSchedule.Id + + $jobSchedule = Get-AzureBatchJobSchedule_ST $jobScheduleId -Select $selectClause -BatchContext $context + Assert-AreEqual $null $jobSchedule.ExecutionInformation + Assert-AreEqual $jobScheduleId $jobSchedule.Id + + # Test with List job schedules API + $jobSchedule = Get-AzureBatchJobSchedule_ST -Filter $filter -BatchContext $context + Assert-AreNotEqual $null $jobSchedule.ExecutionInformation + Assert-AreEqual $jobScheduleId $jobSchedule.Id + + $jobSchedule = Get-AzureBatchJobSchedule_ST -Filter $filter -Select $selectClause -BatchContext $context + Assert-AreEqual $null $jobSchedule.ExecutionInformation + Assert-AreEqual $jobScheduleId $jobSchedule.Id +} + <# .SYNOPSIS Tests querying for Batch job schedules and supplying a max count diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobTests.cs index af3e45330fb3..aee6e664e2b0 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobTests.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobTests.cs @@ -89,6 +89,29 @@ public void TestListJobsByFilter() TestUtilities.GetCurrentMethodName()); } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetAndListJobsWithSelect() + { + BatchController controller = BatchController.NewInstance; + BatchAccountContext context = null; + string jobId = "selectTest"; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-GetAndListJobsWithSelect '{0}' '{1}'", accountName, jobId) }; }, + () => + { + context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + ScenarioTestHelpers.CreateTestJob(controller, context, jobId); + }, + () => + { + ScenarioTestHelpers.DeleteJob(controller, context, jobId); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestListJobsWithMaxCount() diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobTests.ps1 index b4856c028c7d..e0c5f44bb7ee 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobTests.ps1 +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobTests.ps1 @@ -266,6 +266,37 @@ function Test-ListJobsByFilter } } +<# +.SYNOPSIS +Tests querying for Batch job using a select clause +#> +function Test-GetAndListJobsWithSelect +{ + param([string]$accountName, [string]$jobId) + + $context = Get-AzureRmBatchAccountKeys -Name $accountName + $filter = "id eq '$jobId'" + $selectClause = "id,state" + + # Test with Get job API + $job = Get-AzureBatchJob_ST $jobId -BatchContext $context + Assert-AreNotEqual $null $job.ExecutionInformation + Assert-AreEqual $jobId $job.Id + + $job = Get-AzureBatchJob_ST $jobId -Select $selectClause -BatchContext $context + Assert-AreEqual $null $job.ExecutionInformation + Assert-AreEqual $jobId $job.Id + + # Test with List jobs API + $job = Get-AzureBatchJob_ST -Filter $filter -BatchContext $context + Assert-AreNotEqual $null $job.ExecutionInformation + Assert-AreEqual $jobId $job.Id + + $job = Get-AzureBatchJob_ST -Filter $filter -Select $selectClause -BatchContext $context + Assert-AreEqual $null $job.ExecutionInformation + Assert-AreEqual $jobId $job.Id +} + <# .SYNOPSIS Tests querying for Batch jobs and supplying a max count diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.cs index a8407f5f40b2..7741193203c6 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.cs @@ -88,6 +88,14 @@ public void TestListPoolsByFilter() TestUtilities.GetCurrentMethodName()); } + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetAndListPoolsWithSelect() + { + BatchController controller = BatchController.NewInstance; + controller.RunPsTest(string.Format("Test-GetAndListPoolsWithSelect '{0}' '{1}'", commonAccountName, testPoolId)); + } + [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestListPoolsWithMaxCount() diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1 index d777942ed99a..c4dc808a14c5 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1 +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1 @@ -136,6 +136,37 @@ function Test-ListPoolsByFilter } } +<# +.SYNOPSIS +Tests querying for Batch pools using a select clause +#> +function Test-GetAndListPoolsWithSelect +{ + param([string]$accountName, [string]$poolId) + + $context = Get-AzureRmBatchAccountKeys -Name $accountName + $filter = "id eq '$poolId'" + $selectClause = "id,state" + + # Test with Get pool API + $pool = Get-AzureBatchPool_ST $poolId -BatchContext $context + Assert-AreNotEqual $null $pool.VirtualMachineSize + Assert-AreEqual $poolId $pool.Id + + $pool = Get-AzureBatchPool_ST $poolId -Select $selectClause -BatchContext $context + Assert-AreEqual $null $pool.VirtualMachineSize + Assert-AreEqual $poolId $pool.Id + + # Test with List pools API + $pool = Get-AzureBatchPool_ST -Filter $filter -BatchContext $context + Assert-AreNotEqual $null $pool.VirtualMachineSize + Assert-AreEqual $poolId $pool.Id + + $pool = Get-AzureBatchPool_ST -Filter $filter -Select $selectClause -BatchContext $context + Assert-AreEqual $null $pool.VirtualMachineSize + Assert-AreEqual $poolId $pool.Id +} + <# .SYNOPSIS Tests querying for Batch pools and supplying a max count diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ScenarioTestHelpers.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ScenarioTestHelpers.cs index 12da852f6b86..a152e582ff7b 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ScenarioTestHelpers.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ScenarioTestHelpers.cs @@ -12,20 +12,20 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System.Collections.Generic; -using System.Linq; -using System.Net.Http; -using System.Threading; using Microsoft.Azure.Batch; using Microsoft.Azure.Batch.Common; using Microsoft.Azure.Batch.Protocol; using Microsoft.Azure.Commands.Batch.Models; using Microsoft.Azure.Management.Batch; using Microsoft.Azure.Management.Batch.Models; -using System; using Microsoft.Azure.Management.Resources; using Microsoft.Azure.Management.Resources.Models; using Microsoft.Azure.Test.HttpRecorder; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Net.Http; +using System.Threading; using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient; using Constants = Microsoft.Azure.Commands.Batch.Utils.Constants; @@ -42,7 +42,7 @@ public static class ScenarioTestHelpers // $context = Get-AzureRmBatchAccountKeys "pstests" // $startTask = New-Object Microsoft.Azure.Commands.Batch.Models.PSStartTask // $startTask.CommandLine = "cmd /c echo hello" - // New-AzureRmBatchPool -Id "testPool" -VirtualMachineSize "small" -OSFamily "4" -TargetOSVersion "*" -TargetDedicated 3 -StartTask $startTask -BatchContext $context + // New-AzureBatchPool -Id "testPool" -VirtualMachineSize "small" -OSFamily "4" -TargetOSVersion "*" -TargetDedicated 3 -StartTask $startTask -BatchContext $context internal const string SharedAccount = "pstests"; internal const string SharedPool = "testPool"; internal const string SharedPoolStartTaskStdOut = "startup\\stdout.txt"; diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/TaskTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/TaskTests.cs index d0842066e21f..1fdc00b95f3c 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/TaskTests.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/TaskTests.cs @@ -104,6 +104,30 @@ public void TestListTasksByFilter() TestUtilities.GetCurrentMethodName()); } + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetAndListTasksWithSelect() + { + BatchController controller = BatchController.NewInstance; + BatchAccountContext context = null; + string jobId = "selectTaskTest"; + string taskId = "testTask1"; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-GetAndListTasksWithSelect '{0}' '{1}' '{2}'", accountName, jobId, taskId) }; }, + () => + { + context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + ScenarioTestHelpers.CreateTestJob(controller, context, jobId); + ScenarioTestHelpers.CreateTestTask(controller, context, jobId, taskId); + }, + () => + { + ScenarioTestHelpers.DeleteJob(controller, context, jobId); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestListTasksWithMaxCount() diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/TaskTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/TaskTests.ps1 index b1a0a15559cb..56ab93b51d19 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/TaskTests.ps1 +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/TaskTests.ps1 @@ -120,6 +120,38 @@ function Test-ListTasksByFilter } } +<# +.SYNOPSIS +Tests querying for tasks using a select clause +#> +function Test-GetAndListTasksWithSelect +{ + param([string]$accountName, [string]$jobId, [string]$taskId) + + $context = Get-AzureRmBatchAccountKeys -Name $accountName + $filter = "id eq '$taskId'" + $selectClause = "id,state" + + # Test with Get task API + $task = Get-AzureBatchTask_ST $jobId $taskId -BatchContext $context + Assert-AreNotEqual $null $task.CommandLine + Assert-AreEqual $taskId $task.Id + + $task = Get-AzureBatchTask_ST $jobId $taskId -Select $selectClause -BatchContext $context + Assert-AreEqual $null $task.CommandLine + Assert-AreEqual $taskId $task.Id + + # Test with List tasks API + $job = Get-AzureBatchJob_ST $jobId -BatchContext $context + $task = $job | Get-AzureBatchTask_ST -Filter $filter -BatchContext $context + Assert-AreNotEqual $null $task.CommandLine + Assert-AreEqual $taskId $task.Id + + $task = $job | Get-AzureBatchTask_ST -Filter $filter -Select $selectClause -BatchContext $context + Assert-AreEqual $null $task.CommandLine + Assert-AreEqual $taskId $task.Id +} + <# .SYNOPSIS Tests querying for Batch tasks and supplying a max count diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestGetAndListComputeNodesWithSelect.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestGetAndListComputeNodesWithSelect.json new file mode 100644 index 000000000000..5840d43f2199 --- /dev/null +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestGetAndListComputeNodesWithSelect.json @@ -0,0 +1,1146 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "483" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-request-id": [ + "9fed2d0a-bb3e-4562-bbfc-61c33534af9c" + ], + "x-ms-correlation-request-id": [ + "9fed2d0a-bb3e-4562-bbfc-61c33534af9c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T180105Z:9fed2d0a-bb3e-4562-bbfc-61c33534af9c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 18:01:05 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "483" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-request-id": [ + "aaf346a3-0533-4888-97b9-ca5626b0b682" + ], + "x-ms-correlation-request-id": [ + "aaf346a3-0533-4888-97b9-ca5626b0b682" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T180110Z:aaf346a3-0533-4888-97b9-ca5626b0b682" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 18:01:10 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2015-07-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "323" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 28 Sep 2015 18:01:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "68fcc331-3cfa-403c-9117-51badbfdd0fa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-request-id": [ + "74a7c44b-8129-4493-9690-183a1d4b211c" + ], + "x-ms-correlation-request-id": [ + "74a7c44b-8129-4493-9690-183a1d4b211c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T180106Z:74a7c44b-8129-4493-9690-183a1d4b211c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 18:01:06 GMT" + ], + "ETag": [ + "0x8D2C82EC92AD26D" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2015-07-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "323" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 28 Sep 2015 18:01:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "604a1b0e-bc09-47d6-b19b-660cd645f606" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-request-id": [ + "bb11e516-c09c-4e33-8605-289e30660974" + ], + "x-ms-correlation-request-id": [ + "bb11e516-c09c-4e33-8605-289e30660974" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T180110Z:bb11e516-c09c-4e33-8605-289e30660974" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 18:01:10 GMT" + ], + "ETag": [ + "0x8D2C82ECB8C505C" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2015-07-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"XXFZ+jAijJoB8YsqvHU7t0es8xUSVpgCoQ2sK1MxOWPFiMkBl1NhQ2TdzkmA9dH3YfXTaE26kMRRvYG1gax9gw==\",\r\n \"secondary\": \"Wk38jkxm7UKVR3Yp7x5IhHvPdLuzOEwVEXlwrF9DvTp0YhkP8zvG0Kc0BM4kMJP0wu9IEOHMwklmykjgikTchg==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "229" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "dbc03397-2dad-4106-a705-4d084fb6f456" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-request-id": [ + "6966b817-1e1d-4456-b8b6-7b2c2be759a2" + ], + "x-ms-correlation-request-id": [ + "6966b817-1e1d-4456-b8b6-7b2c2be759a2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T180107Z:6966b817-1e1d-4456-b8b6-7b2c2be759a2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 18:01:06 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2015-07-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"XXFZ+jAijJoB8YsqvHU7t0es8xUSVpgCoQ2sK1MxOWPFiMkBl1NhQ2TdzkmA9dH3YfXTaE26kMRRvYG1gax9gw==\",\r\n \"secondary\": \"Wk38jkxm7UKVR3Yp7x5IhHvPdLuzOEwVEXlwrF9DvTp0YhkP8zvG0Kc0BM4kMJP0wu9IEOHMwklmykjgikTchg==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "229" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "e34eaf7a-0fa1-4b80-b3bf-41fa2194b594" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-request-id": [ + "68b46d5b-a8bf-40a1-ae02-984ed09ae1ee" + ], + "x-ms-correlation-request-id": [ + "68b46d5b-a8bf-40a1-ae02-984ed09ae1ee" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T180111Z:68b46d5b-a8bf-40a1-ae02-984ed09ae1ee" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 18:01:10 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools/testPool/nodes?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "59e36756-de42-48d6-ac8f-873323a7c14f" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 18:01:06 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-4283973576_1-20150925t234501z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-4283973576_1-20150925t234501z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-09-25T23:48:30.2722413Z\",\r\n \"lastBootTime\": \"2015-09-25T23:48:30.2002404Z\",\r\n \"allocationTime\": \"2015-09-25T23:45:01.7938424Z\",\r\n \"ipAddress\": \"100.79.22.133\",\r\n \"affinityId\": \"TVM:tvm-4283973576_1-20150925t234501z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-09-25T23:48:30.3152427Z\",\r\n \"endTime\": \"2015-09-25T23:48:31.6857637Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"tvm-4283973576_2-20150925t234501z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-4283973576_2-20150925t234501z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-09-25T23:49:06.8332983Z\",\r\n \"lastBootTime\": \"2015-09-25T23:49:06.7643001Z\",\r\n \"allocationTime\": \"2015-09-25T23:45:01.7938424Z\",\r\n \"ipAddress\": \"100.79.54.58\",\r\n \"affinityId\": \"TVM:tvm-4283973576_2-20150925t234501z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-09-25T23:49:06.8592996Z\",\r\n \"endTime\": \"2015-09-25T23:49:08.0352898Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"tvm-4283973576_3-20150925t234501z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-4283973576_3-20150925t234501z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-09-25T23:49:00.4450143Z\",\r\n \"lastBootTime\": \"2015-09-25T23:49:00.3594201Z\",\r\n \"allocationTime\": \"2015-09-25T23:45:01.7938424Z\",\r\n \"ipAddress\": \"100.79.8.74\",\r\n \"affinityId\": \"TVM:tvm-4283973576_3-20150925t234501z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-09-25T23:49:00.5204263Z\",\r\n \"endTime\": \"2015-09-25T23:49:01.6894639Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "f361c90d-a42e-4405-a917-441188c93969" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "59e36756-de42-48d6-ac8f-873323a7c14f" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 18:01:10 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools/testPool/nodes/tvm-4283973576_1-20150925t234501z?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzL3R2bS00MjgzOTczNTc2XzEtMjAxNTA5MjV0MjM0NTAxej9hcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "963caae1-1751-476e-bf5c-4ad6ed82b270" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 18:01:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes/@Element\",\r\n \"id\": \"tvm-4283973576_1-20150925t234501z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-4283973576_1-20150925t234501z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-09-25T23:48:30.2722413Z\",\r\n \"lastBootTime\": \"2015-09-25T23:48:30.2002404Z\",\r\n \"allocationTime\": \"2015-09-25T23:45:01.7938424Z\",\r\n \"ipAddress\": \"100.79.22.133\",\r\n \"affinityId\": \"TVM:tvm-4283973576_1-20150925t234501z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-09-25T23:48:30.3152427Z\",\r\n \"endTime\": \"2015-09-25T23:48:31.6857637Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "65a7bef1-13f7-440c-a15b-48fbf065cc53" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "963caae1-1751-476e-bf5c-4ad6ed82b270" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 18:01:11 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools/testPool/nodes/tvm-4283973576_1-20150925t234501z?$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzL3R2bS00MjgzOTczNTc2XzEtMjAxNTA5MjV0MjM0NTAxej8kc2VsZWN0PWlkJTJDc3RhdGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "d5a2b1ca-ff3c-4f33-b04f-16778bdf3b64" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 18:01:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes/@Element\",\r\n \"id\": \"tvm-4283973576_1-20150925t234501z\",\r\n \"state\": \"idle\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "25faea15-faaa-45f3-a43b-4750fadf927c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "d5a2b1ca-ff3c-4f33-b04f-16778bdf3b64" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 18:01:11 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools/testPool/nodes/tvm-4283973576_1-20150925t234501z?$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzL3R2bS00MjgzOTczNTc2XzEtMjAxNTA5MjV0MjM0NTAxej8kc2VsZWN0PWlkJTJDc3RhdGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "d5a2b1ca-ff3c-4f33-b04f-16778bdf3b64" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 18:01:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes/@Element\",\r\n \"id\": \"tvm-4283973576_1-20150925t234501z\",\r\n \"state\": \"idle\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "25faea15-faaa-45f3-a43b-4750fadf927c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "d5a2b1ca-ff3c-4f33-b04f-16778bdf3b64" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 18:01:11 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "8866640e-1a86-4e9b-8dcf-6a0b3ed8053a" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 18:01:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D2C603287D74E3\",\r\n \"lastModified\": \"2015-09-25T23:43:47.9173347Z\",\r\n \"creationTime\": \"2015-09-25T23:43:47.9173347Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-25T23:43:47.9173347Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-09-25T23:45:03.6229054Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Fri, 25 Sep 2015 23:43:47 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "4d208d83-e171-41d7-a28d-9efadbf77252" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "8866640e-1a86-4e9b-8dcf-6a0b3ed8053a" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 18:01:11 GMT" + ], + "ETag": [ + "0x8D2C603287D74E3" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "8866640e-1a86-4e9b-8dcf-6a0b3ed8053a" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 18:01:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D2C603287D74E3\",\r\n \"lastModified\": \"2015-09-25T23:43:47.9173347Z\",\r\n \"creationTime\": \"2015-09-25T23:43:47.9173347Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-25T23:43:47.9173347Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-09-25T23:45:03.6229054Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Fri, 25 Sep 2015 23:43:47 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "4d208d83-e171-41d7-a28d-9efadbf77252" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "8866640e-1a86-4e9b-8dcf-6a0b3ed8053a" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 18:01:11 GMT" + ], + "ETag": [ + "0x8D2C603287D74E3" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "8866640e-1a86-4e9b-8dcf-6a0b3ed8053a" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 18:01:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D2C603287D74E3\",\r\n \"lastModified\": \"2015-09-25T23:43:47.9173347Z\",\r\n \"creationTime\": \"2015-09-25T23:43:47.9173347Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-25T23:43:47.9173347Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-09-25T23:45:03.6229054Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Fri, 25 Sep 2015 23:43:47 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "4d208d83-e171-41d7-a28d-9efadbf77252" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "8866640e-1a86-4e9b-8dcf-6a0b3ed8053a" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 18:01:11 GMT" + ], + "ETag": [ + "0x8D2C603287D74E3" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools/testPool/nodes?$filter=id%20eq%20'tvm-4283973576_1-20150925t234501z'&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3R2bS00MjgzOTczNTc2XzEtMjAxNTA5MjV0MjM0NTAxeiUyNyZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "0d5acfa3-0e3c-451c-8fc9-6ffd32d31113" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 18:01:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-4283973576_1-20150925t234501z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-4283973576_1-20150925t234501z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-09-25T23:48:30.2722413Z\",\r\n \"lastBootTime\": \"2015-09-25T23:48:30.2002404Z\",\r\n \"allocationTime\": \"2015-09-25T23:45:01.7938424Z\",\r\n \"ipAddress\": \"100.79.22.133\",\r\n \"affinityId\": \"TVM:tvm-4283973576_1-20150925t234501z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-09-25T23:48:30.3152427Z\",\r\n \"endTime\": \"2015-09-25T23:48:31.6857637Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "e5ede033-069d-483c-9e23-d0c31d75559f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "0d5acfa3-0e3c-451c-8fc9-6ffd32d31113" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 18:01:12 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools/testPool/nodes?$filter=id%20eq%20'tvm-4283973576_1-20150925t234501z'&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3R2bS00MjgzOTczNTc2XzEtMjAxNTA5MjV0MjM0NTAxeiUyNyZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "0d5acfa3-0e3c-451c-8fc9-6ffd32d31113" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 18:01:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-4283973576_1-20150925t234501z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-4283973576_1-20150925t234501z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-09-25T23:48:30.2722413Z\",\r\n \"lastBootTime\": \"2015-09-25T23:48:30.2002404Z\",\r\n \"allocationTime\": \"2015-09-25T23:45:01.7938424Z\",\r\n \"ipAddress\": \"100.79.22.133\",\r\n \"affinityId\": \"TVM:tvm-4283973576_1-20150925t234501z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-09-25T23:48:30.3152427Z\",\r\n \"endTime\": \"2015-09-25T23:48:31.6857637Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "e5ede033-069d-483c-9e23-d0c31d75559f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "0d5acfa3-0e3c-451c-8fc9-6ffd32d31113" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 18:01:12 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools/testPool/nodes?$filter=id%20eq%20'tvm-4283973576_1-20150925t234501z'&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3R2bS00MjgzOTczNTc2XzEtMjAxNTA5MjV0MjM0NTAxeiUyNyZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "0d5acfa3-0e3c-451c-8fc9-6ffd32d31113" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 18:01:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-4283973576_1-20150925t234501z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-4283973576_1-20150925t234501z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-09-25T23:48:30.2722413Z\",\r\n \"lastBootTime\": \"2015-09-25T23:48:30.2002404Z\",\r\n \"allocationTime\": \"2015-09-25T23:45:01.7938424Z\",\r\n \"ipAddress\": \"100.79.22.133\",\r\n \"affinityId\": \"TVM:tvm-4283973576_1-20150925t234501z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-09-25T23:48:30.3152427Z\",\r\n \"endTime\": \"2015-09-25T23:48:31.6857637Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "e5ede033-069d-483c-9e23-d0c31d75559f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "0d5acfa3-0e3c-451c-8fc9-6ffd32d31113" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 18:01:12 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools/testPool/nodes?$filter=id%20eq%20'tvm-4283973576_1-20150925t234501z'&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3R2bS00MjgzOTczNTc2XzEtMjAxNTA5MjV0MjM0NTAxeiUyNyZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "0d5acfa3-0e3c-451c-8fc9-6ffd32d31113" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 18:01:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-4283973576_1-20150925t234501z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-4283973576_1-20150925t234501z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-09-25T23:48:30.2722413Z\",\r\n \"lastBootTime\": \"2015-09-25T23:48:30.2002404Z\",\r\n \"allocationTime\": \"2015-09-25T23:45:01.7938424Z\",\r\n \"ipAddress\": \"100.79.22.133\",\r\n \"affinityId\": \"TVM:tvm-4283973576_1-20150925t234501z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-09-25T23:48:30.3152427Z\",\r\n \"endTime\": \"2015-09-25T23:48:31.6857637Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "e5ede033-069d-483c-9e23-d0c31d75559f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "0d5acfa3-0e3c-451c-8fc9-6ffd32d31113" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 18:01:12 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools/testPool/nodes?$filter=id%20eq%20'tvm-4283973576_1-20150925t234501z'&$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3R2bS00MjgzOTczNTc2XzEtMjAxNTA5MjV0MjM0NTAxeiUyNyYkc2VsZWN0PWlkJTJDc3RhdGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "cf99024e-9692-4145-a2ba-da3283b28447" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 18:01:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-4283973576_1-20150925t234501z\",\r\n \"state\": \"idle\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "b39d0e2e-5c1c-4cd4-94e9-4fb75e73ddd2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "cf99024e-9692-4145-a2ba-da3283b28447" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 18:01:12 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools/testPool/nodes?$filter=id%20eq%20'tvm-4283973576_1-20150925t234501z'&$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3R2bS00MjgzOTczNTc2XzEtMjAxNTA5MjV0MjM0NTAxeiUyNyYkc2VsZWN0PWlkJTJDc3RhdGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "cf99024e-9692-4145-a2ba-da3283b28447" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 18:01:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-4283973576_1-20150925t234501z\",\r\n \"state\": \"idle\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "b39d0e2e-5c1c-4cd4-94e9-4fb75e73ddd2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "cf99024e-9692-4145-a2ba-da3283b28447" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 18:01:12 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools/testPool/nodes?$filter=id%20eq%20'tvm-4283973576_1-20150925t234501z'&$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3R2bS00MjgzOTczNTc2XzEtMjAxNTA5MjV0MjM0NTAxeiUyNyYkc2VsZWN0PWlkJTJDc3RhdGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "cf99024e-9692-4145-a2ba-da3283b28447" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 18:01:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-4283973576_1-20150925t234501z\",\r\n \"state\": \"idle\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "b39d0e2e-5c1c-4cd4-94e9-4fb75e73ddd2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "cf99024e-9692-4145-a2ba-da3283b28447" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 18:01:12 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools/testPool/nodes?$filter=id%20eq%20'tvm-4283973576_1-20150925t234501z'&$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3R2bS00MjgzOTczNTc2XzEtMjAxNTA5MjV0MjM0NTAxeiUyNyYkc2VsZWN0PWlkJTJDc3RhdGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "cf99024e-9692-4145-a2ba-da3283b28447" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 18:01:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-4283973576_1-20150925t234501z\",\r\n \"state\": \"idle\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "b39d0e2e-5c1c-4cd4-94e9-4fb75e73ddd2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "cf99024e-9692-4145-a2ba-da3283b28447" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 18:01:12 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools/testPool/nodes?$filter=id%20eq%20'tvm-4283973576_1-20150925t234501z'&$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3R2bS00MjgzOTczNTc2XzEtMjAxNTA5MjV0MjM0NTAxeiUyNyYkc2VsZWN0PWlkJTJDc3RhdGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "cf99024e-9692-4145-a2ba-da3283b28447" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 18:01:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-4283973576_1-20150925t234501z\",\r\n \"state\": \"idle\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "b39d0e2e-5c1c-4cd4-94e9-4fb75e73ddd2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "cf99024e-9692-4145-a2ba-da3283b28447" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 18:01:12 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestGetAndListJobSchedulesWithSelect.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestGetAndListJobSchedulesWithSelect.json new file mode 100644 index 000000000000..847bd0a0eb65 --- /dev/null +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestGetAndListJobSchedulesWithSelect.json @@ -0,0 +1,1008 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "483" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14970" + ], + "x-ms-request-id": [ + "90348890-1539-4cc3-a109-c75bde2b53e4" + ], + "x-ms-correlation-request-id": [ + "90348890-1539-4cc3-a109-c75bde2b53e4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T220012Z:90348890-1539-4cc3-a109-c75bde2b53e4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 22:00:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "483" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14969" + ], + "x-ms-request-id": [ + "904de211-47e8-435c-bb85-883cc95939f7" + ], + "x-ms-correlation-request-id": [ + "904de211-47e8-435c-bb85-883cc95939f7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T220015Z:904de211-47e8-435c-bb85-883cc95939f7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 22:00:14 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2015-07-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "323" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 28 Sep 2015 22:00:13 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "7838eb60-1511-4fe2-af36-64b92f3f0acf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-request-id": [ + "cdb71510-36aa-4842-ad8d-60d44a4f599a" + ], + "x-ms-correlation-request-id": [ + "cdb71510-36aa-4842-ad8d-60d44a4f599a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T220013Z:cdb71510-36aa-4842-ad8d-60d44a4f599a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 22:00:13 GMT" + ], + "ETag": [ + "0x8D2C8502FC848E3" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2015-07-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "323" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 28 Sep 2015 22:00:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "11499179-9a16-4613-9ac7-e7402e81ad59" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-request-id": [ + "98cd8e29-4742-431d-802e-49191ec8690d" + ], + "x-ms-correlation-request-id": [ + "98cd8e29-4742-431d-802e-49191ec8690d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T220015Z:98cd8e29-4742-431d-802e-49191ec8690d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 22:00:15 GMT" + ], + "ETag": [ + "0x8D2C85030F95168" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2015-07-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"XXFZ+jAijJoB8YsqvHU7t0es8xUSVpgCoQ2sK1MxOWPFiMkBl1NhQ2TdzkmA9dH3YfXTaE26kMRRvYG1gax9gw==\",\r\n \"secondary\": \"Wk38jkxm7UKVR3Yp7x5IhHvPdLuzOEwVEXlwrF9DvTp0YhkP8zvG0Kc0BM4kMJP0wu9IEOHMwklmykjgikTchg==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "229" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "934b66c1-7b6b-4fb8-95c0-e5a2933fe0af" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "13a1a16b-cdbe-46bf-8408-d041a8e62473" + ], + "x-ms-correlation-request-id": [ + "13a1a16b-cdbe-46bf-8408-d041a8e62473" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T220013Z:13a1a16b-cdbe-46bf-8408-d041a8e62473" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 22:00:13 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2015-07-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"XXFZ+jAijJoB8YsqvHU7t0es8xUSVpgCoQ2sK1MxOWPFiMkBl1NhQ2TdzkmA9dH3YfXTaE26kMRRvYG1gax9gw==\",\r\n \"secondary\": \"Wk38jkxm7UKVR3Yp7x5IhHvPdLuzOEwVEXlwrF9DvTp0YhkP8zvG0Kc0BM4kMJP0wu9IEOHMwklmykjgikTchg==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "229" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "be1af185-f7bf-44bb-ba4b-d11a8e28e847" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "fc220345-9dde-48b7-822b-db97f8826970" + ], + "x-ms-correlation-request-id": [ + "fc220345-9dde-48b7-822b-db97f8826970" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T220015Z:fc220345-9dde-48b7-822b-db97f8826970" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 22:00:15 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobschedules?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz9hcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"id\": \"selectTest\",\r\n \"schedule\": {},\r\n \"jobSpecification\": {\r\n \"commonEnvironmentSettings\": [],\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Content-Length": [ + "168" + ], + "client-request-id": [ + "e60a476d-00ef-41bb-93fa-3a2ed238c6c2" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 22:00:13 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Last-Modified": [ + "Mon, 28 Sep 2015 22:00:16 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "a59c6233-36fe-4064-bae4-b2fd9071329e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "e60a476d-00ef-41bb-93fa-3a2ed238c6c2" + ], + "DataServiceVersion": [ + "3.0" + ], + "DataServiceId": [ + "https://pstests.eastus.batch.azure.com/jobschedules/selectTest" + ], + "Date": [ + "Mon, 28 Sep 2015 22:00:15 GMT" + ], + "ETag": [ + "0x8D2C8503132EF29" + ], + "Location": [ + "https://pstests.eastus.batch.azure.com/jobschedules/selectTest" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/jobschedules/selectTest?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy9zZWxlY3RUZXN0P2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "03906118-3774-44d3-9207-73c3d8345ad4" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 22:00:15 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules/@Element\",\r\n \"id\": \"selectTest\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/selectTest\",\r\n \"eTag\": \"0x8D2C8503132EF29\",\r\n \"lastModified\": \"2015-09-28T22:00:16.1021737Z\",\r\n \"creationTime\": \"2015-09-28T22:00:16.1021737Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-28T22:00:16.1021737Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/selectTest:job-1\",\r\n \"id\": \"selectTest:job-1\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 28 Sep 2015 22:00:16 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "ddde0ca1-94b6-4941-8eef-49a4e0e0e209" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "03906118-3774-44d3-9207-73c3d8345ad4" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 22:00:16 GMT" + ], + "ETag": [ + "0x8D2C8503132EF29" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobschedules/selectTest?$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy9zZWxlY3RUZXN0PyRzZWxlY3Q9aWQlMkNzdGF0ZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "d63020d6-d9fc-4c59-8e20-0b7fb02d73b6" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 22:00:15 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules/@Element\",\r\n \"id\": \"selectTest\",\r\n \"state\": \"active\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 28 Sep 2015 22:00:16 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "162f777d-8fd1-443b-8686-6f257af09e5c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "d63020d6-d9fc-4c59-8e20-0b7fb02d73b6" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 22:00:16 GMT" + ], + "ETag": [ + "0x8D2C8503132EF29" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobschedules/selectTest?$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy9zZWxlY3RUZXN0PyRzZWxlY3Q9aWQlMkNzdGF0ZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "d63020d6-d9fc-4c59-8e20-0b7fb02d73b6" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 22:00:15 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules/@Element\",\r\n \"id\": \"selectTest\",\r\n \"state\": \"active\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 28 Sep 2015 22:00:16 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "162f777d-8fd1-443b-8686-6f257af09e5c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "d63020d6-d9fc-4c59-8e20-0b7fb02d73b6" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 22:00:16 GMT" + ], + "ETag": [ + "0x8D2C8503132EF29" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobschedules?$filter=id%20eq%20'selectTest'&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz8kZmlsdGVyPWlkJTIwZXElMjAlMjdzZWxlY3RUZXN0JTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "43c7cb0a-47ee-4a9a-8367-994d18b9f2f1" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 22:00:15 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules\",\r\n \"value\": [\r\n {\r\n \"id\": \"selectTest\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/selectTest\",\r\n \"eTag\": \"0x8D2C8503132EF29\",\r\n \"lastModified\": \"2015-09-28T22:00:16.1021737Z\",\r\n \"creationTime\": \"2015-09-28T22:00:16.1021737Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-28T22:00:16.1021737Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/selectTest:job-1\",\r\n \"id\": \"selectTest:job-1\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "b3f87f65-81e3-462c-8508-5cb458e9b91e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "43c7cb0a-47ee-4a9a-8367-994d18b9f2f1" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 22:00:16 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobschedules?$filter=id%20eq%20'selectTest'&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz8kZmlsdGVyPWlkJTIwZXElMjAlMjdzZWxlY3RUZXN0JTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "43c7cb0a-47ee-4a9a-8367-994d18b9f2f1" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 22:00:15 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules\",\r\n \"value\": [\r\n {\r\n \"id\": \"selectTest\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/selectTest\",\r\n \"eTag\": \"0x8D2C8503132EF29\",\r\n \"lastModified\": \"2015-09-28T22:00:16.1021737Z\",\r\n \"creationTime\": \"2015-09-28T22:00:16.1021737Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-28T22:00:16.1021737Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/selectTest:job-1\",\r\n \"id\": \"selectTest:job-1\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "b3f87f65-81e3-462c-8508-5cb458e9b91e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "43c7cb0a-47ee-4a9a-8367-994d18b9f2f1" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 22:00:16 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobschedules?$filter=id%20eq%20'selectTest'&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz8kZmlsdGVyPWlkJTIwZXElMjAlMjdzZWxlY3RUZXN0JTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "43c7cb0a-47ee-4a9a-8367-994d18b9f2f1" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 22:00:15 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules\",\r\n \"value\": [\r\n {\r\n \"id\": \"selectTest\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/selectTest\",\r\n \"eTag\": \"0x8D2C8503132EF29\",\r\n \"lastModified\": \"2015-09-28T22:00:16.1021737Z\",\r\n \"creationTime\": \"2015-09-28T22:00:16.1021737Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-28T22:00:16.1021737Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/selectTest:job-1\",\r\n \"id\": \"selectTest:job-1\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "b3f87f65-81e3-462c-8508-5cb458e9b91e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "43c7cb0a-47ee-4a9a-8367-994d18b9f2f1" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 22:00:16 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobschedules?$filter=id%20eq%20'selectTest'&$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz8kZmlsdGVyPWlkJTIwZXElMjAlMjdzZWxlY3RUZXN0JTI3JiRzZWxlY3Q9aWQlMkNzdGF0ZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "f44d02ad-6e0b-42b0-b9b8-068b3f1263bb" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 22:00:15 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules\",\r\n \"value\": [\r\n {\r\n \"id\": \"selectTest\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "6203029b-9bac-4c94-83e0-865f01dda614" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "f44d02ad-6e0b-42b0-b9b8-068b3f1263bb" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 22:00:16 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobschedules?$filter=id%20eq%20'selectTest'&$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz8kZmlsdGVyPWlkJTIwZXElMjAlMjdzZWxlY3RUZXN0JTI3JiRzZWxlY3Q9aWQlMkNzdGF0ZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "f44d02ad-6e0b-42b0-b9b8-068b3f1263bb" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 22:00:15 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules\",\r\n \"value\": [\r\n {\r\n \"id\": \"selectTest\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "6203029b-9bac-4c94-83e0-865f01dda614" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "f44d02ad-6e0b-42b0-b9b8-068b3f1263bb" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 22:00:16 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobschedules?$filter=id%20eq%20'selectTest'&$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz8kZmlsdGVyPWlkJTIwZXElMjAlMjdzZWxlY3RUZXN0JTI3JiRzZWxlY3Q9aWQlMkNzdGF0ZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "f44d02ad-6e0b-42b0-b9b8-068b3f1263bb" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 22:00:15 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules\",\r\n \"value\": [\r\n {\r\n \"id\": \"selectTest\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "6203029b-9bac-4c94-83e0-865f01dda614" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "f44d02ad-6e0b-42b0-b9b8-068b3f1263bb" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 22:00:16 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobschedules?$filter=id%20eq%20'selectTest'&$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz8kZmlsdGVyPWlkJTIwZXElMjAlMjdzZWxlY3RUZXN0JTI3JiRzZWxlY3Q9aWQlMkNzdGF0ZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "f44d02ad-6e0b-42b0-b9b8-068b3f1263bb" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 22:00:15 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules\",\r\n \"value\": [\r\n {\r\n \"id\": \"selectTest\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "6203029b-9bac-4c94-83e0-865f01dda614" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "f44d02ad-6e0b-42b0-b9b8-068b3f1263bb" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 22:00:16 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobschedules/selectTest?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy9zZWxlY3RUZXN0P2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "0efb120a-d25b-443b-8468-74c9368738c5" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 22:00:16 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "b07d7a2a-f1d6-42b0-9a74-81e99f3df94f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "0efb120a-d25b-443b-8468-74c9368738c5" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 22:00:17 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/jobschedules/selectTest?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy9zZWxlY3RUZXN0P2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "0efb120a-d25b-443b-8468-74c9368738c5" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 22:00:16 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "b07d7a2a-f1d6-42b0-9a74-81e99f3df94f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "0efb120a-d25b-443b-8468-74c9368738c5" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 22:00:17 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestGetAndListJobsWithSelect.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestGetAndListJobsWithSelect.json new file mode 100644 index 000000000000..6f7cc950cf8d --- /dev/null +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestGetAndListJobsWithSelect.json @@ -0,0 +1,1008 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "483" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14993" + ], + "x-ms-request-id": [ + "38bd22df-bdaf-4e36-a15e-901eb34ab5c3" + ], + "x-ms-correlation-request-id": [ + "38bd22df-bdaf-4e36-a15e-901eb34ab5c3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T230007Z:38bd22df-bdaf-4e36-a15e-901eb34ab5c3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 23:00:07 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "483" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14992" + ], + "x-ms-request-id": [ + "31c6e251-1a6d-4897-942b-0383a030be0d" + ], + "x-ms-correlation-request-id": [ + "31c6e251-1a6d-4897-942b-0383a030be0d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T230010Z:31c6e251-1a6d-4897-942b-0383a030be0d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 23:00:09 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2015-07-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "323" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 28 Sep 2015 23:00:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "c7179675-e4e0-4648-9e6d-654913b0de7a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-request-id": [ + "0f72d214-5c10-428b-8e72-911a9a3f0e8f" + ], + "x-ms-correlation-request-id": [ + "0f72d214-5c10-428b-8e72-911a9a3f0e8f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T230008Z:0f72d214-5c10-428b-8e72-911a9a3f0e8f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 23:00:08 GMT" + ], + "ETag": [ + "0x8D2C8588D4593EF" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2015-07-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "323" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 28 Sep 2015 23:00:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "f772ad84-5ce1-460f-b23f-3c8acbb8b58e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-request-id": [ + "4c56ce75-7ac2-4cb8-a0b4-d86a5721bd1f" + ], + "x-ms-correlation-request-id": [ + "4c56ce75-7ac2-4cb8-a0b4-d86a5721bd1f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T230010Z:4c56ce75-7ac2-4cb8-a0b4-d86a5721bd1f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 23:00:09 GMT" + ], + "ETag": [ + "0x8D2C8588E5139C9" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2015-07-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"XXFZ+jAijJoB8YsqvHU7t0es8xUSVpgCoQ2sK1MxOWPFiMkBl1NhQ2TdzkmA9dH3YfXTaE26kMRRvYG1gax9gw==\",\r\n \"secondary\": \"Wk38jkxm7UKVR3Yp7x5IhHvPdLuzOEwVEXlwrF9DvTp0YhkP8zvG0Kc0BM4kMJP0wu9IEOHMwklmykjgikTchg==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "229" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "3687590e-0c92-4ca4-9876-990e87994e13" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "6d5483ad-50dc-4d8c-a0ac-77f3c10fe667" + ], + "x-ms-correlation-request-id": [ + "6d5483ad-50dc-4d8c-a0ac-77f3c10fe667" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T230009Z:6d5483ad-50dc-4d8c-a0ac-77f3c10fe667" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 23:00:08 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2015-07-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"XXFZ+jAijJoB8YsqvHU7t0es8xUSVpgCoQ2sK1MxOWPFiMkBl1NhQ2TdzkmA9dH3YfXTaE26kMRRvYG1gax9gw==\",\r\n \"secondary\": \"Wk38jkxm7UKVR3Yp7x5IhHvPdLuzOEwVEXlwrF9DvTp0YhkP8zvG0Kc0BM4kMJP0wu9IEOHMwklmykjgikTchg==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "229" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "f23a76a4-3ac8-4b5d-90c4-f54eb2b1ef65" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "d528f6d1-c3fa-4f8a-b73b-0de2c4ae646f" + ], + "x-ms-correlation-request-id": [ + "d528f6d1-c3fa-4f8a-b73b-0de2c4ae646f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T230010Z:d528f6d1-c3fa-4f8a-b73b-0de2c4ae646f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 23:00:10 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnM/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"id\": \"selectTest\",\r\n \"priority\": 0,\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Content-Length": [ + "93" + ], + "client-request-id": [ + "fc63575f-b380-4ff6-94d1-0cc29557b386" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:00:09 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Last-Modified": [ + "Mon, 28 Sep 2015 23:00:11 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "d9f25b7b-7751-483d-b267-a322b0cccd19" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "fc63575f-b380-4ff6-94d1-0cc29557b386" + ], + "DataServiceVersion": [ + "3.0" + ], + "DataServiceId": [ + "https://pstests.eastus.batch.azure.com/jobs/job-1" + ], + "Date": [ + "Mon, 28 Sep 2015 23:00:10 GMT" + ], + "ETag": [ + "0x8D2C8589002CB3A" + ], + "Location": [ + "https://pstests.eastus.batch.azure.com/jobs/job-1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/jobs/selectTest?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGVzdD9hcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "57f4cda7-26e5-4092-9192-0d657aa0a39e" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:00:10 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs/@Element\",\r\n \"id\": \"selectTest\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/selectTest\",\r\n \"eTag\": \"0x8D2C8589002CB3A\",\r\n \"lastModified\": \"2015-09-28T23:00:11.1440698Z\",\r\n \"creationTime\": \"2015-09-28T23:00:11.1120478Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-28T23:00:11.1440698Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-09-28T23:00:11.1440698Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 28 Sep 2015 23:00:11 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "853153cf-e3f2-46a6-b3eb-4b37fd61b699" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "57f4cda7-26e5-4092-9192-0d657aa0a39e" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:00:10 GMT" + ], + "ETag": [ + "0x8D2C8589002CB3A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs/selectTest?$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGVzdD8kc2VsZWN0PWlkJTJDc3RhdGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "07982206-a2b6-4556-a6f0-e29df9b8bc64" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:00:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs/@Element\",\r\n \"id\": \"selectTest\",\r\n \"state\": \"active\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 28 Sep 2015 23:00:11 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "0c09222d-8a9c-440f-b2d3-0938160c6a64" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "07982206-a2b6-4556-a6f0-e29df9b8bc64" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:00:10 GMT" + ], + "ETag": [ + "0x8D2C8589002CB3A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs/selectTest?$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGVzdD8kc2VsZWN0PWlkJTJDc3RhdGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "07982206-a2b6-4556-a6f0-e29df9b8bc64" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:00:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs/@Element\",\r\n \"id\": \"selectTest\",\r\n \"state\": \"active\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 28 Sep 2015 23:00:11 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "0c09222d-8a9c-440f-b2d3-0938160c6a64" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "07982206-a2b6-4556-a6f0-e29df9b8bc64" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:00:10 GMT" + ], + "ETag": [ + "0x8D2C8589002CB3A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs?$filter=id%20eq%20'selectTest'&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnM/JGZpbHRlcj1pZCUyMGVxJTIwJTI3c2VsZWN0VGVzdCUyNyZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "b79feaef-3a1c-42ff-bb95-d4904af207b8" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:00:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"id\": \"selectTest\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/selectTest\",\r\n \"eTag\": \"0x8D2C8589002CB3A\",\r\n \"lastModified\": \"2015-09-28T23:00:11.1440698Z\",\r\n \"creationTime\": \"2015-09-28T23:00:11.1120478Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-28T23:00:11.1440698Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-09-28T23:00:11.1440698Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "3720a45b-3e5f-4cd3-9d52-20a2a2bf7ee2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "b79feaef-3a1c-42ff-bb95-d4904af207b8" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:00:10 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs?$filter=id%20eq%20'selectTest'&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnM/JGZpbHRlcj1pZCUyMGVxJTIwJTI3c2VsZWN0VGVzdCUyNyZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "b79feaef-3a1c-42ff-bb95-d4904af207b8" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:00:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"id\": \"selectTest\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/selectTest\",\r\n \"eTag\": \"0x8D2C8589002CB3A\",\r\n \"lastModified\": \"2015-09-28T23:00:11.1440698Z\",\r\n \"creationTime\": \"2015-09-28T23:00:11.1120478Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-28T23:00:11.1440698Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-09-28T23:00:11.1440698Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "3720a45b-3e5f-4cd3-9d52-20a2a2bf7ee2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "b79feaef-3a1c-42ff-bb95-d4904af207b8" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:00:10 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs?$filter=id%20eq%20'selectTest'&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnM/JGZpbHRlcj1pZCUyMGVxJTIwJTI3c2VsZWN0VGVzdCUyNyZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "b79feaef-3a1c-42ff-bb95-d4904af207b8" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:00:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"id\": \"selectTest\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/selectTest\",\r\n \"eTag\": \"0x8D2C8589002CB3A\",\r\n \"lastModified\": \"2015-09-28T23:00:11.1440698Z\",\r\n \"creationTime\": \"2015-09-28T23:00:11.1120478Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-28T23:00:11.1440698Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-09-28T23:00:11.1440698Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "3720a45b-3e5f-4cd3-9d52-20a2a2bf7ee2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "b79feaef-3a1c-42ff-bb95-d4904af207b8" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:00:10 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs?$filter=id%20eq%20'selectTest'&$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnM/JGZpbHRlcj1pZCUyMGVxJTIwJTI3c2VsZWN0VGVzdCUyNyYkc2VsZWN0PWlkJTJDc3RhdGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "635c359e-f39d-4568-9f6f-72099d66ccf5" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:00:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"id\": \"selectTest\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "e053e36f-7984-41ca-b8a1-8bb6898f807c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "635c359e-f39d-4568-9f6f-72099d66ccf5" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:00:10 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs?$filter=id%20eq%20'selectTest'&$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnM/JGZpbHRlcj1pZCUyMGVxJTIwJTI3c2VsZWN0VGVzdCUyNyYkc2VsZWN0PWlkJTJDc3RhdGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "635c359e-f39d-4568-9f6f-72099d66ccf5" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:00:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"id\": \"selectTest\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "e053e36f-7984-41ca-b8a1-8bb6898f807c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "635c359e-f39d-4568-9f6f-72099d66ccf5" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:00:10 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs?$filter=id%20eq%20'selectTest'&$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnM/JGZpbHRlcj1pZCUyMGVxJTIwJTI3c2VsZWN0VGVzdCUyNyYkc2VsZWN0PWlkJTJDc3RhdGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "635c359e-f39d-4568-9f6f-72099d66ccf5" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:00:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"id\": \"selectTest\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "e053e36f-7984-41ca-b8a1-8bb6898f807c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "635c359e-f39d-4568-9f6f-72099d66ccf5" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:00:10 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs?$filter=id%20eq%20'selectTest'&$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnM/JGZpbHRlcj1pZCUyMGVxJTIwJTI3c2VsZWN0VGVzdCUyNyYkc2VsZWN0PWlkJTJDc3RhdGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "635c359e-f39d-4568-9f6f-72099d66ccf5" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:00:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"id\": \"selectTest\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "e053e36f-7984-41ca-b8a1-8bb6898f807c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "635c359e-f39d-4568-9f6f-72099d66ccf5" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:00:10 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs/selectTest?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGVzdD9hcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "aa0371d9-478b-4ad5-a216-b53bccaff41f" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:00:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "c7cce0dd-c831-44e9-b4aa-7d1f0a8ed5be" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "aa0371d9-478b-4ad5-a216-b53bccaff41f" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:00:11 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/jobs/selectTest?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGVzdD9hcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "aa0371d9-478b-4ad5-a216-b53bccaff41f" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:00:11 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "c7cce0dd-c831-44e9-b4aa-7d1f0a8ed5be" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "aa0371d9-478b-4ad5-a216-b53bccaff41f" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:00:11 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestGetAndListPoolsWithSelect.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestGetAndListPoolsWithSelect.json new file mode 100644 index 000000000000..833489c27139 --- /dev/null +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestGetAndListPoolsWithSelect.json @@ -0,0 +1,684 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "483" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-request-id": [ + "1f4c02cb-3662-4881-ab94-97a930e940f4" + ], + "x-ms-correlation-request-id": [ + "1f4c02cb-3662-4881-ab94-97a930e940f4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T174442Z:1f4c02cb-3662-4881-ab94-97a930e940f4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 17:44:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2015-07-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "323" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 28 Sep 2015 17:44:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "48b24328-ace4-437d-9e4f-d384b69edf1d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-request-id": [ + "19af69f8-0ae5-43d9-af65-c35614a1ef44" + ], + "x-ms-correlation-request-id": [ + "19af69f8-0ae5-43d9-af65-c35614a1ef44" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T174442Z:19af69f8-0ae5-43d9-af65-c35614a1ef44" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 17:44:42 GMT" + ], + "ETag": [ + "0x8D2C82C7DEC30B8" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2015-07-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"XXFZ+jAijJoB8YsqvHU7t0es8xUSVpgCoQ2sK1MxOWPFiMkBl1NhQ2TdzkmA9dH3YfXTaE26kMRRvYG1gax9gw==\",\r\n \"secondary\": \"Wk38jkxm7UKVR3Yp7x5IhHvPdLuzOEwVEXlwrF9DvTp0YhkP8zvG0Kc0BM4kMJP0wu9IEOHMwklmykjgikTchg==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "229" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "3d3fd2b5-6d85-4a27-b228-478226c136db" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-request-id": [ + "c383b268-f696-42a1-a7ca-2507bca4324e" + ], + "x-ms-correlation-request-id": [ + "c383b268-f696-42a1-a7ca-2507bca4324e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T174443Z:c383b268-f696-42a1-a7ca-2507bca4324e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 17:44:42 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "ba07b5e8-3da6-4fc0-a6f2-28a0e99ea23e" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 17:44:43 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D2C603287D74E3\",\r\n \"lastModified\": \"2015-09-25T23:43:47.9173347Z\",\r\n \"creationTime\": \"2015-09-25T23:43:47.9173347Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-25T23:43:47.9173347Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-09-25T23:45:03.6229054Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Fri, 25 Sep 2015 23:43:47 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "ceee0453-722b-455a-92b4-a2c036a589b5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "ba07b5e8-3da6-4fc0-a6f2-28a0e99ea23e" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 17:44:44 GMT" + ], + "ETag": [ + "0x8D2C603287D74E3" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools/testPool?$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sPyRzZWxlY3Q9aWQlMkNzdGF0ZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "7b30c2d8-ec5b-44b2-8d1c-03426e3c976d" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 17:44:43 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"state\": \"active\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Fri, 25 Sep 2015 23:43:47 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "b8046e1a-13c5-407a-b399-d44fc4c43b80" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "7b30c2d8-ec5b-44b2-8d1c-03426e3c976d" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 17:44:44 GMT" + ], + "ETag": [ + "0x8D2C603287D74E3" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools/testPool?$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sPyRzZWxlY3Q9aWQlMkNzdGF0ZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "7b30c2d8-ec5b-44b2-8d1c-03426e3c976d" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 17:44:43 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"state\": \"active\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Fri, 25 Sep 2015 23:43:47 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "b8046e1a-13c5-407a-b399-d44fc4c43b80" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "7b30c2d8-ec5b-44b2-8d1c-03426e3c976d" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 17:44:44 GMT" + ], + "ETag": [ + "0x8D2C603287D74E3" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools?$filter=id%20eq%20'testPool'&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "41d79c98-f679-4dbc-bcb4-439d17f7cfb2" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 17:44:43 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D2C603287D74E3\",\r\n \"lastModified\": \"2015-09-25T23:43:47.9173347Z\",\r\n \"creationTime\": \"2015-09-25T23:43:47.9173347Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-25T23:43:47.9173347Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-09-25T23:45:03.6229054Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "26d3f100-1a93-4953-9f31-c8482382afa5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "41d79c98-f679-4dbc-bcb4-439d17f7cfb2" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 17:44:44 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools?$filter=id%20eq%20'testPool'&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "41d79c98-f679-4dbc-bcb4-439d17f7cfb2" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 17:44:43 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D2C603287D74E3\",\r\n \"lastModified\": \"2015-09-25T23:43:47.9173347Z\",\r\n \"creationTime\": \"2015-09-25T23:43:47.9173347Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-25T23:43:47.9173347Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-09-25T23:45:03.6229054Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "26d3f100-1a93-4953-9f31-c8482382afa5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "41d79c98-f679-4dbc-bcb4-439d17f7cfb2" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 17:44:44 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools?$filter=id%20eq%20'testPool'&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "41d79c98-f679-4dbc-bcb4-439d17f7cfb2" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 17:44:43 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D2C603287D74E3\",\r\n \"lastModified\": \"2015-09-25T23:43:47.9173347Z\",\r\n \"creationTime\": \"2015-09-25T23:43:47.9173347Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-25T23:43:47.9173347Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-09-25T23:45:03.6229054Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "26d3f100-1a93-4953-9f31-c8482382afa5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "41d79c98-f679-4dbc-bcb4-439d17f7cfb2" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 17:44:44 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools?$filter=id%20eq%20'testPool'&$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JiRzZWxlY3Q9aWQlMkNzdGF0ZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "11d95256-0019-40b6-ade4-49a8abddbd77" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 17:44:43 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "c9c1dbe6-1f03-47d8-a8a9-c3e41ffe0b11" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "11d95256-0019-40b6-ade4-49a8abddbd77" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 17:44:44 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools?$filter=id%20eq%20'testPool'&$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JiRzZWxlY3Q9aWQlMkNzdGF0ZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "11d95256-0019-40b6-ade4-49a8abddbd77" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 17:44:43 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "c9c1dbe6-1f03-47d8-a8a9-c3e41ffe0b11" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "11d95256-0019-40b6-ade4-49a8abddbd77" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 17:44:44 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools?$filter=id%20eq%20'testPool'&$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JiRzZWxlY3Q9aWQlMkNzdGF0ZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "11d95256-0019-40b6-ade4-49a8abddbd77" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 17:44:43 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "c9c1dbe6-1f03-47d8-a8a9-c3e41ffe0b11" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "11d95256-0019-40b6-ade4-49a8abddbd77" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 17:44:44 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools?$filter=id%20eq%20'testPool'&$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JiRzZWxlY3Q9aWQlMkNzdGF0ZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "11d95256-0019-40b6-ade4-49a8abddbd77" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 17:44:43 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "c9c1dbe6-1f03-47d8-a8a9-c3e41ffe0b11" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "11d95256-0019-40b6-ade4-49a8abddbd77" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 17:44:44 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestGetAndListTasksWithSelect.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestGetAndListTasksWithSelect.json new file mode 100644 index 000000000000..627968a66119 --- /dev/null +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestGetAndListTasksWithSelect.json @@ -0,0 +1,1445 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "483" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-request-id": [ + "132c675d-7fee-4c36-b664-0445d15a6c5c" + ], + "x-ms-correlation-request-id": [ + "132c675d-7fee-4c36-b664-0445d15a6c5c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T231036Z:132c675d-7fee-4c36-b664-0445d15a6c5c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "483" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-request-id": [ + "42de1a29-30b1-491b-8fc2-d8c492cb9cdf" + ], + "x-ms-correlation-request-id": [ + "42de1a29-30b1-491b-8fc2-d8c492cb9cdf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T231039Z:42de1a29-30b1-491b-8fc2-d8c492cb9cdf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:38 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2015-07-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "323" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 28 Sep 2015 23:10:38 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "587dab04-f10b-4d4a-aa99-58d3fdcbbf1c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14940" + ], + "x-ms-request-id": [ + "e70a567f-0db7-4b6f-99ee-ce07ce088e91" + ], + "x-ms-correlation-request-id": [ + "e70a567f-0db7-4b6f-99ee-ce07ce088e91" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T231038Z:e70a567f-0db7-4b6f-99ee-ce07ce088e91" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:37 GMT" + ], + "ETag": [ + "0x8D2C85A0600A455" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2015-07-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "323" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "ed704893-33a0-4591-b2d4-a87373dab3bc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14939" + ], + "x-ms-request-id": [ + "d50aa648-475d-4b0f-adc7-e45566fc5590" + ], + "x-ms-correlation-request-id": [ + "d50aa648-475d-4b0f-adc7-e45566fc5590" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T231040Z:d50aa648-475d-4b0f-adc7-e45566fc5590" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:39 GMT" + ], + "ETag": [ + "0x8D2C85A071CDFBD" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2015-07-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"XXFZ+jAijJoB8YsqvHU7t0es8xUSVpgCoQ2sK1MxOWPFiMkBl1NhQ2TdzkmA9dH3YfXTaE26kMRRvYG1gax9gw==\",\r\n \"secondary\": \"Wk38jkxm7UKVR3Yp7x5IhHvPdLuzOEwVEXlwrF9DvTp0YhkP8zvG0Kc0BM4kMJP0wu9IEOHMwklmykjgikTchg==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "229" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "d929c2c2-29d6-4100-9071-624219c28a0c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "753af126-0f1b-48fa-9ae2-72f464832388" + ], + "x-ms-correlation-request-id": [ + "753af126-0f1b-48fa-9ae2-72f464832388" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T231038Z:753af126-0f1b-48fa-9ae2-72f464832388" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:37 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2015-07-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"XXFZ+jAijJoB8YsqvHU7t0es8xUSVpgCoQ2sK1MxOWPFiMkBl1NhQ2TdzkmA9dH3YfXTaE26kMRRvYG1gax9gw==\",\r\n \"secondary\": \"Wk38jkxm7UKVR3Yp7x5IhHvPdLuzOEwVEXlwrF9DvTp0YhkP8zvG0Kc0BM4kMJP0wu9IEOHMwklmykjgikTchg==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "229" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "5a160755-7303-4ed7-847d-fd030ac2f32f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "8ca60174-a8d1-4102-96b0-afee8e8ad267" + ], + "x-ms-correlation-request-id": [ + "8ca60174-a8d1-4102-96b0-afee8e8ad267" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150928T231040Z:8ca60174-a8d1-4102-96b0-afee8e8ad267" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:39 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnM/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"id\": \"selectTaskTest\",\r\n \"priority\": 0,\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Content-Length": [ + "97" + ], + "client-request-id": [ + "9017a41a-ddd8-4d1a-af41-a831144e7054" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:10:38 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Last-Modified": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "96725d24-263f-4fc2-95fd-d6d54d955544" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "9017a41a-ddd8-4d1a-af41-a831144e7054" + ], + "DataServiceVersion": [ + "3.0" + ], + "DataServiceId": [ + "https://pstests.eastus.batch.azure.com/jobs/job-1" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "ETag": [ + "0x8D2C85A07221F69" + ], + "Location": [ + "https://pstests.eastus.batch.azure.com/jobs/job-1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/jobs/selectTaskTest/tasks?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGFza1Rlc3QvdGFza3M/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"id\": \"testTask1\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Content-Length": [ + "84" + ], + "client-request-id": [ + "49042ea4-7e8c-4831-9ffd-68224888f438" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:10:38 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Last-Modified": [ + "Mon, 28 Sep 2015 23:10:41 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "fef2a6ea-7d3d-4a75-992a-4c11c7765922" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "49042ea4-7e8c-4831-9ffd-68224888f438" + ], + "DataServiceVersion": [ + "3.0" + ], + "DataServiceId": [ + "https://pstests.eastus.batch.azure.com/jobs/selectTaskTest/tasks/testTask1" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "ETag": [ + "0x8D2C85A077A4930" + ], + "Location": [ + "https://pstests.eastus.batch.azure.com/jobs/selectTaskTest/tasks/testTask1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/jobs/selectTaskTest/tasks?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGFza1Rlc3QvdGFza3M/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"id\": \"testTask1\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Content-Length": [ + "84" + ], + "client-request-id": [ + "49042ea4-7e8c-4831-9ffd-68224888f438" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:10:38 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Last-Modified": [ + "Mon, 28 Sep 2015 23:10:41 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "fef2a6ea-7d3d-4a75-992a-4c11c7765922" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "49042ea4-7e8c-4831-9ffd-68224888f438" + ], + "DataServiceVersion": [ + "3.0" + ], + "DataServiceId": [ + "https://pstests.eastus.batch.azure.com/jobs/selectTaskTest/tasks/testTask1" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "ETag": [ + "0x8D2C85A077A4930" + ], + "Location": [ + "https://pstests.eastus.batch.azure.com/jobs/selectTaskTest/tasks/testTask1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/jobs/selectTaskTest/tasks/testTask1?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGFza1Rlc3QvdGFza3MvdGVzdFRhc2sxP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "4b19d2b7-ae53-4c0b-ac40-27c5d38c006b" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#tasks/@Element\",\r\n \"id\": \"testTask1\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/selectTaskTest/tasks/testTask1\",\r\n \"eTag\": \"0x8D2C85A077A4930\",\r\n \"creationTime\": \"2015-09-28T23:10:41.0727728Z\",\r\n \"lastModified\": \"2015-09-28T23:10:41.0727728Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-28T23:10:41.0727728Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 28 Sep 2015 23:10:41 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "58ef4fe4-9e7c-43d7-8e77-95f59d00a5b4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "4b19d2b7-ae53-4c0b-ac40-27c5d38c006b" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "ETag": [ + "0x8D2C85A077A4930" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs/selectTaskTest/tasks/testTask1?$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGFza1Rlc3QvdGFza3MvdGVzdFRhc2sxPyRzZWxlY3Q9aWQlMkNzdGF0ZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "d9f731cd-10d7-4bc6-90be-fef259fbda69" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#tasks/@Element\",\r\n \"id\": \"testTask1\",\r\n \"state\": \"active\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 28 Sep 2015 23:10:41 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "c02fcaaa-9aab-4f4f-86f0-f94ad44a8dea" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "d9f731cd-10d7-4bc6-90be-fef259fbda69" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "ETag": [ + "0x8D2C85A077A4930" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs/selectTaskTest/tasks/testTask1?$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGFza1Rlc3QvdGFza3MvdGVzdFRhc2sxPyRzZWxlY3Q9aWQlMkNzdGF0ZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "d9f731cd-10d7-4bc6-90be-fef259fbda69" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#tasks/@Element\",\r\n \"id\": \"testTask1\",\r\n \"state\": \"active\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 28 Sep 2015 23:10:41 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "c02fcaaa-9aab-4f4f-86f0-f94ad44a8dea" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "d9f731cd-10d7-4bc6-90be-fef259fbda69" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "ETag": [ + "0x8D2C85A077A4930" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs/selectTaskTest?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGFza1Rlc3Q/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "ed4bf339-06b1-4838-8492-2d99ebe48b64" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs/@Element\",\r\n \"id\": \"selectTaskTest\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/selectTaskTest\",\r\n \"eTag\": \"0x8D2C85A07221F69\",\r\n \"lastModified\": \"2015-09-28T23:10:40.4949865Z\",\r\n \"creationTime\": \"2015-09-28T23:10:40.4037995Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-28T23:10:40.4949865Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-09-28T23:10:40.4949865Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "72a21a58-d222-42e4-94fa-1ce1acd814c9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "ed4bf339-06b1-4838-8492-2d99ebe48b64" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "ETag": [ + "0x8D2C85A07221F69" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs/selectTaskTest?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGFza1Rlc3Q/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "ed4bf339-06b1-4838-8492-2d99ebe48b64" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs/@Element\",\r\n \"id\": \"selectTaskTest\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/selectTaskTest\",\r\n \"eTag\": \"0x8D2C85A07221F69\",\r\n \"lastModified\": \"2015-09-28T23:10:40.4949865Z\",\r\n \"creationTime\": \"2015-09-28T23:10:40.4037995Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-28T23:10:40.4949865Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-09-28T23:10:40.4949865Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "72a21a58-d222-42e4-94fa-1ce1acd814c9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "ed4bf339-06b1-4838-8492-2d99ebe48b64" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "ETag": [ + "0x8D2C85A07221F69" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs/selectTaskTest?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGFza1Rlc3Q/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "ed4bf339-06b1-4838-8492-2d99ebe48b64" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs/@Element\",\r\n \"id\": \"selectTaskTest\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/selectTaskTest\",\r\n \"eTag\": \"0x8D2C85A07221F69\",\r\n \"lastModified\": \"2015-09-28T23:10:40.4949865Z\",\r\n \"creationTime\": \"2015-09-28T23:10:40.4037995Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-28T23:10:40.4949865Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-09-28T23:10:40.4949865Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "72a21a58-d222-42e4-94fa-1ce1acd814c9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "ed4bf339-06b1-4838-8492-2d99ebe48b64" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "ETag": [ + "0x8D2C85A07221F69" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs/selectTaskTest/tasks?$filter=id%20eq%20'testTask1'&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGFza1Rlc3QvdGFza3M/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdFRhc2sxJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "25f5b8d8-c9b0-4c5b-91c2-4201fc68b5c2" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"id\": \"testTask1\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/selectTaskTest/tasks/testTask1\",\r\n \"eTag\": \"0x8D2C85A077A4930\",\r\n \"creationTime\": \"2015-09-28T23:10:41.0727728Z\",\r\n \"lastModified\": \"2015-09-28T23:10:41.0727728Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-28T23:10:41.0727728Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "0e5228fe-a412-49fa-9f93-2aef9d13ad37" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "25f5b8d8-c9b0-4c5b-91c2-4201fc68b5c2" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs/selectTaskTest/tasks?$filter=id%20eq%20'testTask1'&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGFza1Rlc3QvdGFza3M/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdFRhc2sxJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "25f5b8d8-c9b0-4c5b-91c2-4201fc68b5c2" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"id\": \"testTask1\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/selectTaskTest/tasks/testTask1\",\r\n \"eTag\": \"0x8D2C85A077A4930\",\r\n \"creationTime\": \"2015-09-28T23:10:41.0727728Z\",\r\n \"lastModified\": \"2015-09-28T23:10:41.0727728Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-28T23:10:41.0727728Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "0e5228fe-a412-49fa-9f93-2aef9d13ad37" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "25f5b8d8-c9b0-4c5b-91c2-4201fc68b5c2" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs/selectTaskTest/tasks?$filter=id%20eq%20'testTask1'&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGFza1Rlc3QvdGFza3M/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdFRhc2sxJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "25f5b8d8-c9b0-4c5b-91c2-4201fc68b5c2" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"id\": \"testTask1\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/selectTaskTest/tasks/testTask1\",\r\n \"eTag\": \"0x8D2C85A077A4930\",\r\n \"creationTime\": \"2015-09-28T23:10:41.0727728Z\",\r\n \"lastModified\": \"2015-09-28T23:10:41.0727728Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-28T23:10:41.0727728Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "0e5228fe-a412-49fa-9f93-2aef9d13ad37" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "25f5b8d8-c9b0-4c5b-91c2-4201fc68b5c2" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs/selectTaskTest/tasks?$filter=id%20eq%20'testTask1'&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGFza1Rlc3QvdGFza3M/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdFRhc2sxJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "25f5b8d8-c9b0-4c5b-91c2-4201fc68b5c2" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"id\": \"testTask1\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/selectTaskTest/tasks/testTask1\",\r\n \"eTag\": \"0x8D2C85A077A4930\",\r\n \"creationTime\": \"2015-09-28T23:10:41.0727728Z\",\r\n \"lastModified\": \"2015-09-28T23:10:41.0727728Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-09-28T23:10:41.0727728Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "0e5228fe-a412-49fa-9f93-2aef9d13ad37" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "25f5b8d8-c9b0-4c5b-91c2-4201fc68b5c2" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs/selectTaskTest/tasks?$filter=id%20eq%20'testTask1'&$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGFza1Rlc3QvdGFza3M/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdFRhc2sxJTI3JiRzZWxlY3Q9aWQlMkNzdGF0ZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "f6092922-474f-46e2-97b9-fae083872d73" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"id\": \"testTask1\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "55be8bf9-19f8-4ad4-a6f7-4d27deebe198" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "f6092922-474f-46e2-97b9-fae083872d73" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs/selectTaskTest/tasks?$filter=id%20eq%20'testTask1'&$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGFza1Rlc3QvdGFza3M/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdFRhc2sxJTI3JiRzZWxlY3Q9aWQlMkNzdGF0ZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "f6092922-474f-46e2-97b9-fae083872d73" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"id\": \"testTask1\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "55be8bf9-19f8-4ad4-a6f7-4d27deebe198" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "f6092922-474f-46e2-97b9-fae083872d73" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs/selectTaskTest/tasks?$filter=id%20eq%20'testTask1'&$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGFza1Rlc3QvdGFza3M/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdFRhc2sxJTI3JiRzZWxlY3Q9aWQlMkNzdGF0ZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "f6092922-474f-46e2-97b9-fae083872d73" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"id\": \"testTask1\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "55be8bf9-19f8-4ad4-a6f7-4d27deebe198" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "f6092922-474f-46e2-97b9-fae083872d73" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs/selectTaskTest/tasks?$filter=id%20eq%20'testTask1'&$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGFza1Rlc3QvdGFza3M/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdFRhc2sxJTI3JiRzZWxlY3Q9aWQlMkNzdGF0ZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "f6092922-474f-46e2-97b9-fae083872d73" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"id\": \"testTask1\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "55be8bf9-19f8-4ad4-a6f7-4d27deebe198" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "f6092922-474f-46e2-97b9-fae083872d73" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs/selectTaskTest/tasks?$filter=id%20eq%20'testTask1'&$select=id%2Cstate&api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGFza1Rlc3QvdGFza3M/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdFRhc2sxJTI3JiRzZWxlY3Q9aWQlMkNzdGF0ZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "f6092922-474f-46e2-97b9-fae083872d73" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"id\": \"testTask1\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "55be8bf9-19f8-4ad4-a6f7-4d27deebe198" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "f6092922-474f-46e2-97b9-fae083872d73" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/jobs/selectTaskTest?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGFza1Rlc3Q/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "e91be6b8-4aa7-43c1-90d9-63759a9fe764" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "3fd554ad-d2ee-4795-90f0-f241345b1c7c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "e91be6b8-4aa7-43c1-90d9-63759a9fe764" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:42 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/jobs/selectTaskTest?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGFza1Rlc3Q/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "e91be6b8-4aa7-43c1-90d9-63759a9fe764" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "3fd554ad-d2ee-4795-90f0-f241345b1c7c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "e91be6b8-4aa7-43c1-90d9-63759a9fe764" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:42 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/jobs/selectTaskTest?api-version=2015-06-01.2.0&timeout=30", + "EncodedRequestUri": "L2pvYnMvc2VsZWN0VGFza1Rlc3Q/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "client-request-id": [ + "e91be6b8-4aa7-43c1-90d9-63759a9fe764" + ], + "ocp-date": [ + "Mon, 28 Sep 2015 23:10:40 GMT" + ], + "return-client-request-id": [ + "true" + ], + "User-Agent": [ + "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0", + "AzBatch/2.0.1.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "3fd554ad-d2ee-4795-90f0-f241345b1c7c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "client-request-id": [ + "e91be6b8-4aa7-43c1-90d9-63759a9fe764" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 28 Sep 2015 23:10:42 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Tasks/GetBatchTaskCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Tasks/GetBatchTaskCommandTests.cs index 93bc34be0a95..651800ea629b 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Tasks/GetBatchTaskCommandTests.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Tasks/GetBatchTaskCommandTests.cs @@ -12,16 +12,17 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System; using Microsoft.Azure.Batch; using Microsoft.Azure.Batch.Protocol; using Microsoft.Azure.Batch.Protocol.Models; using Microsoft.Azure.Commands.Batch.Models; using Microsoft.WindowsAzure.Commands.ScenarioTest; using Moq; +using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation; +using System.Threading.Tasks; using Xunit; using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient; @@ -96,39 +97,71 @@ public void GetBatchTaskTest() [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] - public void ListBatchTasksByODataFilterTest() + public void GetBatchTaskODataTest() { - // Setup cmdlet to list tasks using an OData filter. + // Setup cmdlet to get a single task BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); cmdlet.BatchContext = context; - cmdlet.JobId = "job-1"; + cmdlet.JobId = "testJob"; + cmdlet.Id = "testTask1"; + cmdlet.Select = "id,state"; + cmdlet.Expand = "stats"; + + string requestSelect = null; + string requestExpand = null; + + // Fetch the OData clauses off the request. The OData clauses are applied after user provided RequestInterceptors, so a ResponseInterceptor is used. + CloudTaskGetResponse getResponse = BatchTestHelpers.CreateCloudTaskGetResponse(cmdlet.Id); + RequestInterceptor requestInterceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(getResponse); + ResponseInterceptor responseInterceptor = new ResponseInterceptor((response, request) => + { + requestSelect = request.Parameters.DetailLevel.SelectClause; + requestExpand = request.Parameters.DetailLevel.ExpandClause; + + return Task.FromResult(response); + }); + cmdlet.AdditionalBehaviors = new List() { requestInterceptor, responseInterceptor }; + + cmdlet.ExecuteCmdlet(); + + Assert.Equal(cmdlet.Select, requestSelect); + Assert.Equal(cmdlet.Expand, requestExpand); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void ListBatchTasksODataTest() + { + // Setup cmdlet to list tasks using an OData filter + BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); + cmdlet.BatchContext = context; + cmdlet.JobId = "testJob"; cmdlet.Id = null; cmdlet.Filter = "startswith(id,'test')"; + cmdlet.Select = "id,state"; + cmdlet.Expand = "stats"; - string[] idsOfConstructedTasks = new[] { "testTask1", "testTask2" }; + string requestFilter = null; + string requestSelect = null; + string requestExpand = null; - // Build some CloudTasks instead of querying the service on a List CloudTasks call - CloudTaskListResponse response = BatchTestHelpers.CreateCloudTaskListResponse(idsOfConstructedTasks); - RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response); - cmdlet.AdditionalBehaviors = new List() { interceptor }; + // Fetch the OData clauses off the request. The OData clauses are applied after user provided RequestInterceptors, so a ResponseInterceptor is used. + RequestInterceptor requestInterceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(); + ResponseInterceptor responseInterceptor = new ResponseInterceptor((response, request) => + { + requestFilter = request.Parameters.DetailLevel.FilterClause; + requestSelect = request.Parameters.DetailLevel.SelectClause; + requestExpand = request.Parameters.DetailLevel.ExpandClause; - // Setup the cmdlet to write pipeline output to a list that can be examined later - List pipeline = new List(); - commandRuntimeMock.Setup(r => - r.WriteObject(It.IsAny())) - .Callback(t => pipeline.Add((PSCloudTask)t)); + return Task.FromResult(response); + }); + cmdlet.AdditionalBehaviors = new List() { requestInterceptor, responseInterceptor }; cmdlet.ExecuteCmdlet(); - // Verify that the cmdlet wrote the constructed tasks to the pipeline - Assert.Equal(2, pipeline.Count); - int taskCount = 0; - foreach (PSCloudTask t in pipeline) - { - Assert.True(idsOfConstructedTasks.Contains(t.Id)); - taskCount++; - } - Assert.Equal(idsOfConstructedTasks.Length, taskCount); + Assert.Equal(cmdlet.Filter, requestFilter); + Assert.Equal(cmdlet.Select, requestSelect); + Assert.Equal(cmdlet.Expand, requestExpand); } [Fact] diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/ComputeNodes/GetBatchComputeNodeCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/ComputeNodes/GetBatchComputeNodeCommand.cs index 75633f92b142..be64da39aa80 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/ComputeNodes/GetBatchComputeNodeCommand.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/ComputeNodes/GetBatchComputeNodeCommand.cs @@ -54,12 +54,17 @@ public int MaxCount set { this.maxCount = value; } } + [Parameter] + [ValidateNotNullOrEmpty] + public string Select { get; set; } + protected override void ProcessRecord() { ListComputeNodeOptions options = new ListComputeNodeOptions(this.BatchContext, this.PoolId, this.Pool, this.AdditionalBehaviors) { ComputeNodeId = this.Id, Filter = this.Filter, + Select = this.Select, MaxCount = this.MaxCount }; diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/JobSchedules/GetBatchJobScheduleCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/JobSchedules/GetBatchJobScheduleCommand.cs index 240962756810..bc54592329a2 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/JobSchedules/GetBatchJobScheduleCommand.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/JobSchedules/GetBatchJobScheduleCommand.cs @@ -42,12 +42,22 @@ public int MaxCount set { this.maxCount = value; } } + [Parameter] + [ValidateNotNullOrEmpty] + public string Select { get; set; } + + [Parameter] + [ValidateNotNullOrEmpty] + public string Expand { get; set; } + protected override void ProcessRecord() { ListJobScheduleOptions options = new ListJobScheduleOptions(this.BatchContext, this.AdditionalBehaviors) { JobScheduleId = this.Id, Filter = this.Filter, + Select = this.Select, + Expand = this.Expand, MaxCount = this.MaxCount }; diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Jobs/GetBatchJobCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Jobs/GetBatchJobCommand.cs index 7a264c17bef6..9dd7704abb94 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Jobs/GetBatchJobCommand.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Jobs/GetBatchJobCommand.cs @@ -51,6 +51,14 @@ public int MaxCount set { this.maxCount = value; } } + [Parameter] + [ValidateNotNullOrEmpty] + public string Select { get; set; } + + [Parameter] + [ValidateNotNullOrEmpty] + public string Expand { get; set; } + protected override void ProcessRecord() { ListJobOptions options = new ListJobOptions(this.BatchContext, this.AdditionalBehaviors) @@ -59,6 +67,8 @@ protected override void ProcessRecord() JobScheduleId = this.JobScheduleId, JobSchedule = this.JobSchedule, Filter = this.Filter, + Select = this.Select, + Expand = this.Expand, MaxCount = this.MaxCount }; diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Microsoft.Azure.Commands.Batch.dll-Help.xml b/src/ResourceManager/AzureBatch/Commands.Batch/Microsoft.Azure.Commands.Batch.dll-Help.xml index b0812f74cb59..e409e13dfece 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Microsoft.Azure.Commands.Batch.dll-Help.xml +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Microsoft.Azure.Commands.Batch.dll-Help.xml @@ -368,6 +368,13 @@ cmdletexample2 westus CmdletExampleRG https: String + + Select + + Specifies an OData select clause. Used to retrieve only specific properties instead of all object properties. + + String + MaxCount @@ -413,6 +420,13 @@ cmdletexample2 westus CmdletExampleRG https: String + + Select + + Specifies an OData select clause. Used to retrieve only specific properties instead of all object properties. + + String + Profile @@ -444,6 +458,13 @@ cmdletexample2 westus CmdletExampleRG https: String + + Select + + Specifies an OData select clause. Used to retrieve only specific properties instead of all object properties. + + String + MaxCount @@ -492,6 +513,18 @@ cmdletexample2 westus CmdletExampleRG https: none + + Select + + Specifies an OData select clause. Used to retrieve only specific properties instead of all object properties. + + String + + String + + + none + Id @@ -769,6 +802,20 @@ Errors : String + + Select + + Specifies an OData select clause. Used to retrieve only specific properties instead of all object properties. + + String + + + Expand + + Specifies an OData expand clause. Used to retrieve associated entities of the main entity being retrieved. + + String + MaxCount @@ -800,6 +847,20 @@ Errors : String + + Select + + Specifies an OData select clause. Used to retrieve only specific properties instead of all object properties. + + String + + + Expand + + Specifies an OData expand clause. Used to retrieve associated entities of the main entity being retrieved. + + String + Profile @@ -841,6 +902,30 @@ Errors : none + + Select + + Specifies an OData select clause. Used to retrieve only specific properties instead of all object properties. + + String + + String + + + none + + + Expand + + Specifies an OData expand clause. Used to retrieve associated entities of the main entity being retrieved. + + String + + String + + + none + Id @@ -1040,6 +1125,20 @@ Url : https://cmdletexample.westus.batch.azure.com/jobsc String + + Select + + Specifies an OData select clause. Used to retrieve only specific properties instead of all object properties. + + String + + + Expand + + Specifies an OData expand clause. Used to retrieve associated entities of the main entity being retrieved. + + String + JobScheduleId @@ -1078,6 +1177,20 @@ Url : https://cmdletexample.westus.batch.azure.com/jobsc String + + Select + + Specifies an OData select clause. Used to retrieve only specific properties instead of all object properties. + + String + + + Expand + + Specifies an OData expand clause. Used to retrieve associated entities of the main entity being retrieved. + + String + Profile @@ -1109,6 +1222,20 @@ Url : https://cmdletexample.westus.batch.azure.com/jobsc String + + Select + + Specifies an OData select clause. Used to retrieve only specific properties instead of all object properties. + + String + + + Expand + + Specifies an OData expand clause. Used to retrieve associated entities of the main entity being retrieved. + + String + MaxCount @@ -1157,6 +1284,30 @@ Url : https://cmdletexample.westus.batch.azure.com/jobsc none + + Select + + Specifies an OData select clause. Used to retrieve only specific properties instead of all object properties. + + String + + String + + + none + + + Expand + + Specifies an OData expand clause. Used to retrieve associated entities of the main entity being retrieved. + + String + + String + + + none + Id @@ -2606,6 +2757,20 @@ True workitems https://cmdletexample.westus.Batch.c String + + Select + + Specifies an OData select clause. Used to retrieve only specific properties instead of all object properties. + + String + + + Expand + + Specifies an OData expand clause. Used to retrieve associated entities of the main entity being retrieved. + + String + MaxCount @@ -2637,6 +2802,20 @@ True workitems https://cmdletexample.westus.Batch.c String + + Select + + Specifies an OData select clause. Used to retrieve only specific properties instead of all object properties. + + String + + + Expand + + Specifies an OData expand clause. Used to retrieve associated entities of the main entity being retrieved. + + String + Profile @@ -2678,6 +2857,30 @@ True workitems https://cmdletexample.westus.Batch.c none + + Select + + Specifies an OData select clause. Used to retrieve only specific properties instead of all object properties. + + String + + String + + + none + + + Expand + + Specifies an OData expand clause. Used to retrieve associated entities of the main entity being retrieved. + + String + + String + + + none + Id @@ -3253,6 +3456,20 @@ VirtualMachineSize : small String + + Select + + Specifies an OData select clause. Used to retrieve only specific properties instead of all object properties. + + String + + + Expand + + Specifies an OData expand clause. Used to retrieve associated entities of the main entity being retrieved. + + String + MaxCount @@ -3291,6 +3508,20 @@ VirtualMachineSize : small String + + Select + + Specifies an OData select clause. Used to retrieve only specific properties instead of all object properties. + + String + + + Expand + + Specifies an OData expand clause. Used to retrieve associated entities of the main entity being retrieved. + + String + Profile @@ -3322,6 +3553,20 @@ VirtualMachineSize : small String + + Select + + Specifies an OData select clause. Used to retrieve only specific properties instead of all object properties. + + String + + + Expand + + Specifies an OData expand clause. Used to retrieve associated entities of the main entity being retrieved. + + String + MaxCount @@ -3370,6 +3615,30 @@ VirtualMachineSize : small none + + Select + + Specifies an OData select clause. Used to retrieve only specific properties instead of all object properties. + + String + + String + + + none + + + Expand + + Specifies an OData expand clause. Used to retrieve associated entities of the main entity being retrieved. + + String + + String + + + none + Id diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchClient.ComputeNodes.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchClient.ComputeNodes.cs index 99a067a2f1fc..1864ce1abf6e 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchClient.ComputeNodes.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchClient.ComputeNodes.cs @@ -35,6 +35,8 @@ public IEnumerable ListComputeNodes(ListComputeNodeOptions option throw new ArgumentNullException("options"); } + ODATADetailLevel odata = new ODATADetailLevel(selectClause: options.Select); + string poolId = options.Pool == null ? options.PoolId : options.Pool.Id; // Get the single compute node matching the specified id @@ -42,19 +44,18 @@ public IEnumerable ListComputeNodes(ListComputeNodeOptions option { WriteVerbose(string.Format(Resources.GetComputeNodeById, options.ComputeNodeId, poolId)); PoolOperations poolOperations = options.Context.BatchOMClient.PoolOperations; - ComputeNode computeNode = poolOperations.GetComputeNode(poolId, options.ComputeNodeId, additionalBehaviors: options.AdditionalBehaviors); + ComputeNode computeNode = poolOperations.GetComputeNode(poolId, options.ComputeNodeId, detailLevel: odata, additionalBehaviors: options.AdditionalBehaviors); PSComputeNode psComputeNode = new PSComputeNode(computeNode); return new PSComputeNode[] { psComputeNode }; } // List compute nodes using the specified filter else { - ODATADetailLevel odata = null; string verboseLogString = null; if (!string.IsNullOrEmpty(options.Filter)) { verboseLogString = string.Format(Resources.GetComputeNodeByOData, poolId); - odata = new ODATADetailLevel(filterClause: options.Filter); + odata.FilterClause = options.Filter; } else { diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchClient.JobSchedules.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchClient.JobSchedules.cs index 85205e9e3215..352e0989b0ee 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchClient.JobSchedules.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchClient.JobSchedules.cs @@ -37,24 +37,25 @@ public IEnumerable ListJobSchedules(ListJobScheduleOptions o throw new ArgumentNullException("options"); } + ODATADetailLevel odata = new ODATADetailLevel(selectClause: options.Select, expandClause: options.Expand); + // Get the single job schedule matching the specified id if (!string.IsNullOrWhiteSpace(options.JobScheduleId)) { WriteVerbose(string.Format(Resources.GetJobScheduleById, options.JobScheduleId)); JobScheduleOperations jobScheduleOperations = options.Context.BatchOMClient.JobScheduleOperations; - CloudJobSchedule jobSchedule = jobScheduleOperations.GetJobSchedule(options.JobScheduleId, additionalBehaviors: options.AdditionalBehaviors); + CloudJobSchedule jobSchedule = jobScheduleOperations.GetJobSchedule(options.JobScheduleId, detailLevel: odata, additionalBehaviors: options.AdditionalBehaviors); PSCloudJobSchedule psJobSchedule = new PSCloudJobSchedule(jobSchedule); return new PSCloudJobSchedule[] { psJobSchedule }; } // List job schedules using the specified filter else { - ODATADetailLevel odata = null; string verboseLogString = null; if (!string.IsNullOrEmpty(options.Filter)) { verboseLogString = Resources.GetJobScheduleByOData; - odata = new ODATADetailLevel(filterClause: options.Filter); + odata.FilterClause = options.Filter; } else { diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchClient.Jobs.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchClient.Jobs.cs index 7987721f4bbc..9b1aa6afdc3e 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchClient.Jobs.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchClient.Jobs.cs @@ -36,12 +36,14 @@ public IEnumerable ListJobs(ListJobOptions options) throw new ArgumentNullException("options"); } + ODATADetailLevel odata = new ODATADetailLevel(selectClause: options.Select, expandClause: options.Expand); + // Get the single job matching the specified id if (!string.IsNullOrEmpty(options.JobId)) { WriteVerbose(string.Format(Resources.GetJobById, options.JobId)); JobOperations jobOperations = options.Context.BatchOMClient.JobOperations; - CloudJob job = jobOperations.GetJob(options.JobId, additionalBehaviors: options.AdditionalBehaviors); + CloudJob job = jobOperations.GetJob(options.JobId, detailLevel: odata, additionalBehaviors: options.AdditionalBehaviors); PSCloudJob psJob = new PSCloudJob(job); return new PSCloudJob[] { psJob }; } @@ -51,12 +53,11 @@ public IEnumerable ListJobs(ListJobOptions options) string jobScheduleId = options.JobSchedule == null ? options.JobScheduleId : options.JobSchedule.Id; bool filterByJobSchedule = !string.IsNullOrEmpty(jobScheduleId); - ODATADetailLevel odata = null; string verboseLogString = null; if (!string.IsNullOrEmpty(options.Filter)) { verboseLogString = filterByJobSchedule ? Resources.GetJobByOData : string.Format(Resources.GetJobByODataAndJobSChedule, jobScheduleId); - odata = new ODATADetailLevel(filterClause: options.Filter); + odata.FilterClause = options.Filter; } else { diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchClient.Pools.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchClient.Pools.cs index db0dcd6daca8..9f3659a58ac3 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchClient.Pools.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchClient.Pools.cs @@ -36,24 +36,25 @@ public IEnumerable ListPools(ListPoolOptions options) throw new ArgumentNullException("options"); } + ODATADetailLevel odata = new ODATADetailLevel(selectClause: options.Select, expandClause: options.Expand); + // Get the single pool matching the specified id if (!string.IsNullOrWhiteSpace(options.PoolId)) { WriteVerbose(string.Format(Resources.GetPoolById, options.PoolId)); PoolOperations poolOperations = options.Context.BatchOMClient.PoolOperations; - CloudPool pool = poolOperations.GetPool(options.PoolId, additionalBehaviors: options.AdditionalBehaviors); + CloudPool pool = poolOperations.GetPool(options.PoolId, detailLevel: odata, additionalBehaviors: options.AdditionalBehaviors); PSCloudPool psPool = new PSCloudPool(pool); return new PSCloudPool[] { psPool }; } // List pools using the specified filter else { - ODATADetailLevel odata = null; string verboseLogString = null; if (!string.IsNullOrEmpty(options.Filter)) { verboseLogString = Resources.GetPoolByOData; - odata = new ODATADetailLevel(filterClause: options.Filter); + odata.FilterClause = options.Filter; } else { diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchClient.Tasks.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchClient.Tasks.cs index 10b04145d83a..2f68f0590439 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchClient.Tasks.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchClient.Tasks.cs @@ -36,12 +36,14 @@ public IEnumerable ListTasks(ListTaskOptions options) throw new ArgumentNullException("options"); } + ODATADetailLevel odata = new ODATADetailLevel(selectClause: options.Select, expandClause: options.Expand); + // Get the single task matching the specified id if (!string.IsNullOrEmpty(options.TaskId)) { WriteVerbose(string.Format(Resources.GetTaskById, options.TaskId, options.JobId)); JobOperations jobOperations = options.Context.BatchOMClient.JobOperations; - CloudTask task = jobOperations.GetTask(options.JobId, options.TaskId, additionalBehaviors: options.AdditionalBehaviors); + CloudTask task = jobOperations.GetTask(options.JobId, options.TaskId, detailLevel: odata, additionalBehaviors: options.AdditionalBehaviors); PSCloudTask psTask = new PSCloudTask(task); return new PSCloudTask[] { psTask }; } @@ -49,12 +51,11 @@ public IEnumerable ListTasks(ListTaskOptions options) else { string jobId = options.Job == null ? options.JobId : options.Job.Id; - ODATADetailLevel odata = null; string verboseLogString = null; if (!string.IsNullOrEmpty(options.Filter)) { verboseLogString = string.Format(Resources.GetTaskByOData, jobId); - odata = new ODATADetailLevel(filterClause: options.Filter); + odata.FilterClause = options.Filter; } else { diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Models/ListComputeNodeOptions.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Models/ListComputeNodeOptions.cs index 8d0e8fe77e74..14cb10d7bae2 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Models/ListComputeNodeOptions.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Models/ListComputeNodeOptions.cs @@ -33,6 +33,11 @@ public ListComputeNodeOptions(BatchAccountContext context, string poolId, PSClou /// public string Filter { get; set; } + /// + /// The OData select clause to use. + /// + public string Select { get; set; } + /// /// The maximum number of compute nodes to return. /// diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Models/ListJobOptions.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Models/ListJobOptions.cs index 91f30c30677d..420467e32ab7 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Models/ListJobOptions.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Models/ListJobOptions.cs @@ -43,6 +43,16 @@ public ListJobOptions(BatchAccountContext context, IEnumerable public string Filter { get; set; } + /// + /// The OData select clause to use. + /// + public string Select { get; set; } + + /// + /// The OData expand clause to use. + /// + public string Expand { get; set; } + /// /// The maximum number of jobs to return. /// diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Models/ListJobScheduleOptions.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Models/ListJobScheduleOptions.cs index c5feb36690cb..95cd0756adc3 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Models/ListJobScheduleOptions.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Models/ListJobScheduleOptions.cs @@ -33,6 +33,16 @@ public ListJobScheduleOptions(BatchAccountContext context, IEnumerable public string Filter { get; set; } + /// + /// The OData select clause to use. + /// + public string Select { get; set; } + + /// + /// The OData expand clause to use. + /// + public string Expand { get; set; } + /// /// The maximum number of job schedules to return. /// diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Models/ListPoolOptions.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Models/ListPoolOptions.cs index 5dcd2e0496f9..79879693c2cc 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Models/ListPoolOptions.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Models/ListPoolOptions.cs @@ -33,6 +33,16 @@ public ListPoolOptions(BatchAccountContext context, IEnumerable public string Filter { get; set; } + /// + /// The OData select clause to use. + /// + public string Select { get; set; } + + /// + /// The OData expand clause to use. + /// + public string Expand { get; set; } + /// /// The maximum number of pools to return. /// diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Models/ListTaskOptions.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Models/ListTaskOptions.cs index cdb852eb2de2..2a358d89c95b 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Models/ListTaskOptions.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Models/ListTaskOptions.cs @@ -33,6 +33,16 @@ public ListTaskOptions(BatchAccountContext context, string jobId, PSCloudJob job /// public string Filter { get; set; } + /// + /// The OData select clause to use. + /// + public string Select { get; set; } + + /// + /// The OData expand clause to use. + /// + public string Expand { get; set; } + /// /// The maximum number of tasks to return. /// diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Pools/GetBatchPoolCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Pools/GetBatchPoolCommand.cs index 520efc044a03..7f11b483faf5 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Pools/GetBatchPoolCommand.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Pools/GetBatchPoolCommand.cs @@ -44,12 +44,22 @@ public int MaxCount set { this.maxCount = value; } } + [Parameter] + [ValidateNotNullOrEmpty] + public string Select { get; set; } + + [Parameter] + [ValidateNotNullOrEmpty] + public string Expand { get; set; } + protected override void ProcessRecord() { ListPoolOptions options = new ListPoolOptions(this.BatchContext, this.AdditionalBehaviors) { PoolId = this.Id, Filter = this.Filter, + Select = this.Select, + Expand = this.Expand, MaxCount = this.MaxCount }; diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Tasks/GetBatchTaskCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Tasks/GetBatchTaskCommand.cs index 937c35a62a3e..b014bcce7a14 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Tasks/GetBatchTaskCommand.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Tasks/GetBatchTaskCommand.cs @@ -54,6 +54,14 @@ public int MaxCount set { this.maxCount = value; } } + [Parameter] + [ValidateNotNullOrEmpty] + public string Select { get; set; } + + [Parameter] + [ValidateNotNullOrEmpty] + public string Expand { get; set; } + protected override void ProcessRecord() { ListTaskOptions options = new ListTaskOptions(this.BatchContext, this.JobId, @@ -61,6 +69,8 @@ protected override void ProcessRecord() { TaskId = this.Id, Filter = this.Filter, + Select = this.Select, + Expand = this.Expand, MaxCount = this.MaxCount }; diff --git a/src/ResourceManager/Common/Commands.ResourceManager.Common/Properties/Resources.Designer.cs b/src/ResourceManager/Common/Commands.ResourceManager.Common/Properties/Resources.Designer.cs index 900a6a82fe96..8d2426d80988 100644 --- a/src/ResourceManager/Common/Commands.ResourceManager.Common/Properties/Resources.Designer.cs +++ b/src/ResourceManager/Common/Commands.ResourceManager.Common/Properties/Resources.Designer.cs @@ -135,6 +135,24 @@ public static string NoSubscriptionFound { } } + /// + /// Looks up a localized string similar to The provided account {0} does not have access to subscription ID "{1}". Please try logging in with different credentials not a different subscription ID.. + /// + public static string SubscriptionIdNotFound { + get { + return ResourceManager.GetString("SubscriptionIdNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to SubscriptionIdNotFound The provided account {0} does not have access to subscription name "{1}". Please try logging in with different credentials not a different subscription name.. + /// + public static string SubscriptionNameNotFound { + get { + return ResourceManager.GetString("SubscriptionNameNotFound", resourceCulture); + } + } + /// /// Looks up a localized string similar to Tenant '{0}' was not found. Please verify that your account has access to this tenant.. /// diff --git a/src/ResourceManager/Common/Commands.ResourceManager.Common/Properties/Resources.resx b/src/ResourceManager/Common/Commands.ResourceManager.Common/Properties/Resources.resx index 617f62d27d76..93b591600071 100644 --- a/src/ResourceManager/Common/Commands.ResourceManager.Common/Properties/Resources.resx +++ b/src/ResourceManager/Common/Commands.ResourceManager.Common/Properties/Resources.resx @@ -151,7 +151,13 @@ Select Y to enable data collection [Y/N]: The provided account {0} does not have access to any subscriptions. Please try logging in with different credentials. + + The provided account {0} does not have access to subscription ID "{1}". Please try logging in with different credentials not a different subscription ID. + + + The provided account {0} does not have access to subscription name "{1}". Please try logging in with different credentials not a different subscription name. + Tenant '{0}' was not found. Please verify that your account has access to this tenant. - \ No newline at end of file + diff --git a/src/ResourceManager/Common/Commands.ResourceManager.Common/RMProfileClient.cs b/src/ResourceManager/Common/Commands.ResourceManager.Common/RMProfileClient.cs index 32272bac79fb..74ac2fa22943 100644 --- a/src/ResourceManager/Common/Commands.ResourceManager.Common/RMProfileClient.cs +++ b/src/ResourceManager/Common/Commands.ResourceManager.Common/RMProfileClient.cs @@ -44,7 +44,7 @@ public RMProfileClient(AzureRMProfile profile) } } - public AzureRMProfile Login(AzureAccount account, AzureEnvironment environment, string tenantId, string subscriptionId, SecureString password) + public AzureRMProfile Login(AzureAccount account, AzureEnvironment environment, string tenantId, string subscriptionId, string subscriptionName, SecureString password) { AzureSubscription newSubscription = null; AzureTenant newTenant = null; @@ -55,7 +55,7 @@ public AzureRMProfile Login(AzureAccount account, AzureEnvironment environment, if (!string.IsNullOrEmpty(tenantId)) { var token = AcquireAccessToken(account, environment, tenantId, password, promptBehavior); - TryGetTenantSubscription(token, account, environment, tenantId, subscriptionId, out newSubscription, out newTenant); + TryGetTenantSubscription(token, account, environment, tenantId, subscriptionId, subscriptionName, out newSubscription, out newTenant); } // (tenant is not provided and subscription is present) OR // (tenant is not provided and subscription is not provided) @@ -67,7 +67,7 @@ public AzureRMProfile Login(AzureAccount account, AzureEnvironment environment, AzureSubscription tempSubscription; var token = AcquireAccessToken(account, environment, tenant.Id.ToString(), password, ShowDialog.Auto); - if (newTenant == null && TryGetTenantSubscription(token, account, environment, tenant.Id.ToString(), subscriptionId, out tempSubscription, out tempTenant) && + if (newTenant == null && TryGetTenantSubscription(token, account, environment, tenant.Id.ToString(), subscriptionId, subscriptionName, out tempSubscription, out tempTenant) && newTenant == null) { newTenant = tempTenant; @@ -78,7 +78,18 @@ public AzureRMProfile Login(AzureAccount account, AzureEnvironment environment, if (newSubscription == null) { - throw new PSInvalidOperationException(String.Format(Properties.Resources.NoSubscriptionFound, account.Id)); + if (subscriptionId != null) + { + throw new PSInvalidOperationException(String.Format(Properties.Resources.SubscriptionIdNotFound, account.Id, subscriptionId)); + } + else if (subscriptionName != null) + { + throw new PSInvalidOperationException(String.Format(Properties.Resources.SubscriptionNameNotFound, account.Id, subscriptionId)); + } + else + { + throw new PSInvalidOperationException(String.Format(Properties.Resources.NoSubscriptionFound, account.Id)); + } } _profile.Context = new AzureContext(newSubscription, account, environment, newTenant); @@ -155,7 +166,7 @@ public bool TryGetSubscription(string tenantId, string subscriptionId, out Azure var token = AcquireAccessToken(_profile.Context.Account, _profile.Context.Environment, tenantId, null, ShowDialog.Never); return TryGetTenantSubscription(token, _profile.Context.Account, _profile.Context.Environment, - tenantId, subscriptionId, out subscription, out tenant); + tenantId, subscriptionId, null, out subscription, out tenant); } public bool TryGetSubscriptionByName(string tenantId, string subscriptionName, out AzureSubscription subscription) @@ -283,10 +294,10 @@ private bool TryGetTenantSubscription(IAccessToken accessToken, AzureEnvironment environment, string tenantId, string subscriptionId, + string subscriptionName, out AzureSubscription subscription, out AzureTenant tenant) { - using (var subscriptionClient = AzureSession.ClientFactory.CreateCustomClient( new TokenCloudCredentials(accessToken.AccessToken), environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ResourceManager))) @@ -304,14 +315,21 @@ private bool TryGetTenantSubscription(IAccessToken accessToken, var subscriptions = subscriptionClient.Subscriptions.List().Subscriptions; if (subscriptions != null && subscriptions.Any()) { - if (subscriptions.Count > 1) + if (subscriptionName != null) + { + subscriptionFromServer = subscriptions.FirstOrDefault(s => s.DisplayName.Equals(subscriptionName, StringComparison.OrdinalIgnoreCase)); + } + else { - WriteWarningMessage(string.Format( - "Tenant '{0}' contains more than one subscription. First one will be selected for further use. " + - "To select another subscription, use Set-AzureRmContext.", - tenantId)); + if (subscriptions.Count > 1) + { + WriteWarningMessage(string.Format( + "Tenant '{0}' contains more than one subscription. First one will be selected for further use. " + + "To select another subscription, use Set-AzureRmContext.", + tenantId)); + } + subscriptionFromServer = subscriptions.First(); } - subscriptionFromServer = subscriptions.First(); } } } diff --git a/src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/EnvironmentSetupHelper.cs b/src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/EnvironmentSetupHelper.cs index 0a5585090fd6..08c4a256a761 100644 --- a/src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/EnvironmentSetupHelper.cs +++ b/src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/EnvironmentSetupHelper.cs @@ -58,8 +58,10 @@ public EnvironmentSetupHelper() rmprofile.Environments.Add("foo", AzureEnvironment.PublicEnvironments.Values.FirstOrDefault()); rmprofile.Context = new AzureContext(new AzureSubscription(), new AzureAccount(), rmprofile.Environments["foo"], new AzureTenant()); rmprofile.Context.Subscription.Environment = "foo"; - AzureRMCmdlet.DefaultProfile = rmprofile; - AzureSession.DataStore = datastore; + if (AzureRMCmdlet.DefaultProfile == null) + { + AzureRMCmdlet.DefaultProfile = rmprofile; + } ProfileClient = new ProfileClient(profile); // Ignore SSL errors @@ -162,12 +164,18 @@ private void SetupAzureEnvironmentFromEnvironmentVariables(AzureModule mode) environment.Endpoints[AzureEnvironment.Endpoint.ActiveDirectory] = currentEnvironment.Endpoints.AADAuthUri.AbsoluteUri; environment.Endpoints[AzureEnvironment.Endpoint.Gallery] = currentEnvironment.Endpoints.GalleryUri.AbsoluteUri; environment.Endpoints[AzureEnvironment.Endpoint.ServiceManagement] = currentEnvironment.BaseUri.AbsoluteUri; + environment.Endpoints[AzureEnvironment.Endpoint.ResourceManager] = currentEnvironment.Endpoints.ResourceManagementUri.AbsoluteUri; if (!ProfileClient.Profile.Environments.ContainsKey(testEnvironmentName)) { ProfileClient.AddOrSetEnvironment(environment); } + if (!AzureRMCmdlet.DefaultProfile.Environments.ContainsKey(testEnvironmentName)) + { + AzureRMCmdlet.DefaultProfile.Environments[testEnvironmentName] = environment; + } + if (currentEnvironment.SubscriptionId != null) { testSubscription = new AzureSubscription() @@ -199,6 +207,17 @@ private void SetupAzureEnvironmentFromEnvironmentVariables(AzureModule mode) ProfileClient.Profile.Subscriptions[testSubscription.Id] = testSubscription; ProfileClient.Profile.Accounts[testAccount.Id] = testAccount; ProfileClient.SetSubscriptionAsDefault(testSubscription.Name, testSubscription.Account); + + var testTenant = new AzureTenant() { Id = Guid.NewGuid() }; + if (!string.IsNullOrEmpty(currentEnvironment.Tenant)) + { + Guid tenant; + if (Guid.TryParse(currentEnvironment.Tenant, out tenant)) + { + testTenant.Id = tenant; + } + } + AzureRMCmdlet.DefaultProfile.Context = new AzureContext(testSubscription, testAccount, environment, testTenant); } } diff --git a/src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/PermissiveRecordMatcherWithApiExclusion.cs b/src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/PermissiveRecordMatcherWithApiExclusion.cs index e0de3fd00b5c..fb1b9d38ddfb 100644 --- a/src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/PermissiveRecordMatcherWithApiExclusion.cs +++ b/src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/PermissiveRecordMatcherWithApiExclusion.cs @@ -53,21 +53,24 @@ public string GetMatchingKey(System.Net.Http.HttpRequestMessage request) public string GetMatchingKey(RecordEntry recordEntry) { - var encodedPath = recordEntry.EncodedRequestUri; - if (recordEntry.RequestUri.Contains("?&")) + string path = recordEntry.RequestUri; + if(!string.IsNullOrEmpty(recordEntry.EncodedRequestUri)) { - var updatedPath = recordEntry.RequestUri.Replace("?&", "?"); - - - string version; - if (ContainsIgnoredProvider(updatedPath, out version)) - { - updatedPath = RemoveOrReplaceApiVersion(updatedPath, version); - } + path = Encoding.UTF8.GetString(Convert.FromBase64String(recordEntry.EncodedRequestUri)); + } - encodedPath = Convert.ToBase64String(Encoding.UTF8.GetBytes(updatedPath)); + if (path.Contains("?&")) + { + path = path.Replace("?&", "?"); } + string version; + if (ContainsIgnoredProvider(path, out version)) + { + path = RemoveOrReplaceApiVersion(path, version); + } + + var encodedPath = Convert.ToBase64String(Encoding.UTF8.GetBytes(path)); return string.Format("{0} {1}", recordEntry.RequestMethod, encodedPath); } diff --git a/src/ResourceManager/Compute/AzureRM.Compute.psd1 b/src/ResourceManager/Compute/AzureRM.Compute.psd1 index c47916898ce6..f0b2248dd478 100644 --- a/src/ResourceManager/Compute/AzureRM.Compute.psd1 +++ b/src/ResourceManager/Compute/AzureRM.Compute.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '0a83c907-1ffb-4d87-a492-c65ac7d7ed37' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - Compute' @@ -45,7 +45,7 @@ CLRVersion='4.0' ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }) +RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/Common/ComputeTestController.cs b/src/ResourceManager/Compute/Commands.Compute.Test/Common/ComputeTestController.cs index 572482b43ce2..f91eb0302613 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/Common/ComputeTestController.cs +++ b/src/ResourceManager/Compute/Commands.Compute.Test/Common/ComputeTestController.cs @@ -97,7 +97,7 @@ public void RunPsTestWorkflow( string mockName) { Dictionary d = new Dictionary(); - d.Add("Microsoft.Authorization", "2014-07-01-preview"); + d.Add("Microsoft.Authorization", null); HttpMockServer.Matcher = new PermissiveRecordMatcherWithApiExclusion(false, d); using (UndoContext context = UndoContext.Current) diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/DscExtensionTests.cs b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/DscExtensionTests.cs index 5851018f5812..290de79df578 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/DscExtensionTests.cs +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/DscExtensionTests.cs @@ -5,7 +5,7 @@ namespace Microsoft.Azure.Commands.Compute.Test.ScenarioTests { public class DscExtensionTests { - [Fact(Skip = "PSGet Migration: TODO: Get-AzureRmSubscription")] + [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestGetAzureRmVMDscExtension() { diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineProfileTests.cs b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineProfileTests.cs index 66d901739cbc..5249c6808a38 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineProfileTests.cs +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineProfileTests.cs @@ -19,14 +19,14 @@ namespace Microsoft.Azure.Commands.Compute.Test.ScenarioTests { public class VirtualMachineProfileTests { - [Fact(Skip = "PSGet Migration: TODO: Get-AzureRmSubscription")] + [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestVirtualMachineProfile() { ComputeTestController.NewInstance.RunPsTest("Test-VirtualMachineProfile"); } - [Fact(Skip = "PSGet Migration: TODO: Get-AzureRmSubscription")] + [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestVirtualMachineProfileWithoutAUC() { diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineProfileTests.ps1 b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineProfileTests.ps1 index 86ce7d2aa07c..2d73acdc9c6f 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineProfileTests.ps1 +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineProfileTests.ps1 @@ -116,7 +116,7 @@ function Test-VirtualMachineProfile $imgRef = Get-DefaultCRPWindowsImageOffline -loc $loc; $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); - $subid = (Get-AzureRmSubscription -Current).SubscriptionId; + $subid = (Get-AzureRmContext).Subscription.SubscriptionId; $referenceUri = "/subscriptions/" + $subid + "/resourceGroups/RgTest1/providers/Microsoft.KeyVault/vaults/TestVault123"; $certStore = "My"; @@ -283,7 +283,7 @@ function Test-VirtualMachineProfileWithoutAUC $imgRef = Get-DefaultCRPWindowsImageOffline -loc $loc; $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); - $subid = (Get-AzureRmSubscription -Current).SubscriptionId; + $subid = (Get-AzureRmContext).Subscription.SubscriptionId; $referenceUri = "/subscriptions/" + $subid + "/resourceGroups/RgTest1/providers/Microsoft.KeyVault/vaults/TestVault123"; $certStore = "My"; diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineTests.cs b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineTests.cs index 700cab5f3a43..7343e9362214 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineTests.cs +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineTests.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Compute.Test.ScenarioTests { public partial class VirtualMachineTests { - [Fact(Skip = "PSGet Migration: TODO: Get-AzureRmSubscription")] + [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestVirtualMachine() { diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineTests.ps1 b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineTests.ps1 index dbb828cec90f..08fb95444028 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineTests.ps1 +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineTests.ps1 @@ -179,7 +179,7 @@ function Test-VirtualMachine Assert-NotNull $aset; Assert-AreEqual $asetName $aset.Name; - $asetId = ('/subscriptions/' + (Get-AzureRmSubscription -Current).SubscriptionId + '/resourceGroups/' + $rgname + '/providers/Microsoft.Compute/availabilitySets/' + $asetName); + $asetId = ('/subscriptions/' + (Get-AzureRmContext).Subscription.SubscriptionId + '/resourceGroups/' + $rgname + '/providers/Microsoft.Compute/availabilitySets/' + $asetName); $vmname2 = $vmname + '2'; $p2 = New-AzureRmVMConfig -VMName $vmname2 -VMSize $vmsize -AvailabilitySetId $asetId; $p2.HardwareProfile = $p.HardwareProfile; diff --git a/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj b/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj index c5d19498d2b8..1f8bed90aaa8 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj +++ b/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj @@ -262,12 +262,15 @@ + + + diff --git a/src/ResourceManager/Compute/Commands.Compute/Common/ConstantStringTypes.cs b/src/ResourceManager/Compute/Commands.Compute/Common/ConstantStringTypes.cs index ca9e61cc1798..1e625d827053 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Common/ConstantStringTypes.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Common/ConstantStringTypes.cs @@ -47,6 +47,7 @@ public static class ValidateSetValues { public const string ReadOnly = "ReadOnly"; public const string ReadWrite = "ReadWrite"; + public const string None = "None"; } public static class ProfileNouns diff --git a/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.dll-Help.psd1 b/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.dll-Help.psd1 index 3cfe8b84f911..4343bd6c4031 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.dll-Help.psd1 +++ b/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.dll-Help.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.0.1' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'B37DCEB6-F8A8-4C76-B1FC-9C35DFE08977' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ResourceManager/Compute/Commands.Compute/Models/VhdDownloadContext.cs b/src/ResourceManager/Compute/Commands.Compute/Models/VhdDownloadContext.cs new file mode 100644 index 000000000000..6b460684400e --- /dev/null +++ b/src/ResourceManager/Compute/Commands.Compute/Models/VhdDownloadContext.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. +// ---------------------------------------------------------------------------------- + +using System; +using System.IO; + +namespace Microsoft.Azure.Commands.Compute.Models +{ + public class VhdDownloadContext + { + public FileInfo LocalFilePath { get; set; } + public Uri Source { get; set; } + } +} diff --git a/src/ResourceManager/Compute/Commands.Compute/Models/VhdDownloaderModel.cs b/src/ResourceManager/Compute/Commands.Compute/Models/VhdDownloaderModel.cs new file mode 100644 index 000000000000..5ab1443c3087 --- /dev/null +++ b/src/ResourceManager/Compute/Commands.Compute/Models/VhdDownloaderModel.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 Microsoft.WindowsAzure.Commands.Sync; +using Microsoft.WindowsAzure.Commands.Sync.Download; +using System.IO; + +namespace Microsoft.Azure.Commands.Compute.Models +{ + public class VhdDownloaderModel + { + public static VhdDownloadContext Download(DownloaderParameters downloadParameters, ComputeClientBaseCmdlet cmdlet) + { + Program.SyncOutput = new PSSyncOutputEvents(cmdlet); + + downloadParameters.ProgressDownloadComplete = Program.SyncOutput.ProgressDownloadComplete; + downloadParameters.ProgressDownloadStatus = Program.SyncOutput.ProgressDownloadStatus; + + var downloader = new Downloader(downloadParameters); + downloader.Download(); + + return new VhdDownloadContext + { + LocalFilePath = new FileInfo(downloadParameters.LocalFilePath), + Source = downloadParameters.BlobUri.Uri + }; + } + } +} diff --git a/src/ResourceManager/Compute/Commands.Compute/StorageServices/AddAzureVhdCommand.cs b/src/ResourceManager/Compute/Commands.Compute/StorageServices/AddAzureVhdCommand.cs index 77d355dc62c7..c01f610f2236 100644 --- a/src/ResourceManager/Compute/Commands.Compute/StorageServices/AddAzureVhdCommand.cs +++ b/src/ResourceManager/Compute/Commands.Compute/StorageServices/AddAzureVhdCommand.cs @@ -131,7 +131,7 @@ public UploadParameters ValidateParameters() } } - var storageCredentialsFactory = CreateStorageCredentialsFactory(destinationUri); + var storageCredentialsFactory = CreateStorageCredentialsFactory(); PathIntrinsics currentPath = SessionState.Path; var filePath = new FileInfo(currentPath.GetUnresolvedProviderPathFromPSPath(LocalFilePath.ToString())); @@ -147,7 +147,7 @@ public UploadParameters ValidateParameters() return parameters; } - private StorageCredentialsFactory CreateStorageCredentialsFactory(BlobUri destinationUri) + private StorageCredentialsFactory CreateStorageCredentialsFactory() { StorageCredentialsFactory storageCredentialsFactory; diff --git a/src/ResourceManager/Compute/Commands.Compute/StorageServices/SaveAzureVhdCommand.cs b/src/ResourceManager/Compute/Commands.Compute/StorageServices/SaveAzureVhdCommand.cs new file mode 100644 index 000000000000..87fd946dc2ea --- /dev/null +++ b/src/ResourceManager/Compute/Commands.Compute/StorageServices/SaveAzureVhdCommand.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 Microsoft.Azure.Commands.Compute.Common; +using Microsoft.Azure.Commands.Compute.Models; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using Microsoft.Azure.Management.Storage; +using Microsoft.WindowsAzure.Commands.Sync.Download; +using System; +using System.IO; +using System.Management.Automation; + +namespace Microsoft.Azure.Commands.Compute.StorageServices +{ + [Cmdlet(VerbsData.Save, ProfileNouns.Vhd), OutputType(typeof(VhdDownloadContext))] + public class SaveAzureVhdCommand : ComputeClientBaseCmdlet + { + private const int DefaultNumberOfUploaderThreads = 8; + private const string ResourceGroupParameterSet = "ResourceGroupParameterSetName"; + private const string StorageKeyParameterSet = "StorageKeyParameterSetName"; + + [Parameter( + Position = 0, + Mandatory = true, + ParameterSetName = ResourceGroupParameterSet, + ValueFromPipelineByPropertyName = true)] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter( + Position = 0, + Mandatory = true, + ParameterSetName = StorageKeyParameterSet, + HelpMessage = "Key of the storage account")] + [ValidateNotNullOrEmpty] + [Alias("sk")] + public string StorageKey + { + get; + set; + } + + [Parameter( + Position = 1, + Mandatory = true, + ValueFromPipelineByPropertyName = true, + HelpMessage = "Uri to blob")] + [ValidateNotNullOrEmpty] + [Alias("src")] + public Uri Source + { + get; + set; + } + + [Parameter( + Position = 2, + Mandatory = true, + HelpMessage = "Local path of the vhd file")] + [ValidateNotNullOrEmpty] + [Alias("lf")] + public FileInfo LocalFilePath + { + get; + set; + } + + private int numberOfThreads = DefaultNumberOfUploaderThreads; + + [Parameter( + Position = 3, + Mandatory = false, + HelpMessage = "Number of downloader threads")] + [ValidateNotNullOrEmpty] + [ValidateRange(1, 64)] + [Alias("th")] + public int NumberOfThreads + { + get { return this.numberOfThreads; } + set { this.numberOfThreads = value; } + } + + [Parameter( + Position = 4, + Mandatory = false, + HelpMessage = "Delete the local file if already exists")] + [ValidateNotNullOrEmpty] + [Alias("o")] + public SwitchParameter OverWrite + { + get; + set; + } + + protected override void ProcessRecord() + { + BlobUri blobUri; + if (!BlobUri.TryParseUri(Source, out blobUri)) + { + throw new ArgumentOutOfRangeException("Source", Source.ToString()); + } + + var storageKey = this.StorageKey; + if (this.StorageKey == null) + { + var storageClient = AzureSession.ClientFactory.CreateClient( + DefaultProfile.Context, AzureEnvironment.Endpoint.ResourceManager); + + + var storageService = storageClient.StorageAccounts.GetProperties(this.ResourceGroupName, blobUri.StorageAccountName); + if (storageService != null) + { + var storageKeys = storageClient.StorageAccounts.ListKeys(this.ResourceGroupName, storageService.StorageAccount.Name); + storageKey = storageKeys.StorageAccountKeys.Key1; + } + } + + var downloaderParameters = new DownloaderParameters + { + BlobUri = blobUri, + LocalFilePath = LocalFilePath.FullName, + ConnectionLimit = NumberOfThreads, + StorageAccountKey = storageKey, + ValidateFreeDiskSpace = true, + OverWrite = OverWrite + }; + + var vhdDownloadContext = VhdDownloaderModel.Download(downloaderParameters, this); + WriteObject(vhdDownloadContext); + } + } +} diff --git a/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/AddAzureVMDataDiskCommand.cs b/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/AddAzureVMDataDiskCommand.cs index 5737db843271..59d83e64c760 100644 --- a/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/AddAzureVMDataDiskCommand.cs +++ b/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/AddAzureVMDataDiskCommand.cs @@ -60,7 +60,7 @@ public class AddAzureVMDataDiskCommand : Microsoft.Azure.Commands.ResourceManage ValueFromPipelineByPropertyName = true, HelpMessage = HelpMessages.VMDataDiskCaching)] [ValidateNotNullOrEmpty] - [ValidateSet(ValidateSetValues.ReadOnly, ValidateSetValues.ReadWrite)] + [ValidateSet(ValidateSetValues.ReadOnly, ValidateSetValues.ReadWrite, ValidateSetValues.None)] public string Caching { get; set; } [Parameter( diff --git a/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/SetAzureVMDataDiskCommand.cs b/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/SetAzureVMDataDiskCommand.cs index 0b330cc5dc4d..83403242bd2a 100644 --- a/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/SetAzureVMDataDiskCommand.cs +++ b/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/SetAzureVMDataDiskCommand.cs @@ -68,7 +68,7 @@ public class SetAzureVMDataDiskCommand : Microsoft.Azure.Commands.ResourceManage ValueFromPipelineByPropertyName = true, HelpMessage = HelpMessages.VMDataDiskCaching)] [ValidateNotNullOrEmpty] - [ValidateSet(ValidateSetValues.ReadOnly, ValidateSetValues.ReadWrite)] + [ValidateSet(ValidateSetValues.ReadOnly, ValidateSetValues.ReadWrite, ValidateSetValues.None)] public string Caching { get; set; } [Parameter( diff --git a/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/SetAzureVMOSDiskCommand.cs b/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/SetAzureVMOSDiskCommand.cs index 1226f5500a93..b29fd2277b6b 100644 --- a/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/SetAzureVMOSDiskCommand.cs +++ b/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/SetAzureVMOSDiskCommand.cs @@ -65,7 +65,7 @@ public class SetAzureVMOSDiskCommand : Microsoft.Azure.Commands.ResourceManager. ValueFromPipelineByPropertyName = true, HelpMessage = HelpMessages.VMOSDiskCaching)] [ValidateNotNullOrEmpty] - [ValidateSet(ValidateSetValues.ReadOnly, ValidateSetValues.ReadWrite)] + [ValidateSet(ValidateSetValues.ReadOnly, ValidateSetValues.ReadWrite, ValidateSetValues.None)] public string Caching { get; set; } [Alias("SourceImage")] diff --git a/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Operation/NewAzureVMCommand.cs b/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Operation/NewAzureVMCommand.cs index 59f4bffb3244..310a285af452 100644 --- a/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Operation/NewAzureVMCommand.cs +++ b/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Operation/NewAzureVMCommand.cs @@ -12,9 +12,9 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using AutoMapper; using Microsoft.Azure.Commands.Compute.Common; using Microsoft.Azure.Commands.Compute.Models; -using Microsoft.Azure.Commands.Tags.Model; using Microsoft.Azure.Management.Compute; using Microsoft.Azure.Management.Compute.Models; using System.Collections; @@ -23,6 +23,7 @@ namespace Microsoft.Azure.Commands.Compute { [Cmdlet(VerbsCommon.New, ProfileNouns.VirtualMachine)] + [OutputType(typeof(PSComputeLongRunningOperation))] public class NewAzureVMCommand : VirtualMachineBaseCmdlet { [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true)] @@ -61,7 +62,8 @@ protected override void ProcessRecord() }; var op = this.VirtualMachineClient.CreateOrUpdate(this.ResourceGroupName, parameters); - WriteObject(op); + var result = Mapper.Map(op); + WriteObject(result); }); } } diff --git a/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Operation/UpdateAzureVMCommand.cs b/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Operation/UpdateAzureVMCommand.cs index 7f2f5bfe3f9e..51c184741750 100644 --- a/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Operation/UpdateAzureVMCommand.cs +++ b/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Operation/UpdateAzureVMCommand.cs @@ -12,7 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- - +using AutoMapper; using Microsoft.Azure.Commands.Compute.Common; using Microsoft.Azure.Commands.Compute.Models; using Microsoft.Azure.Management.Compute; @@ -22,7 +22,8 @@ namespace Microsoft.Azure.Commands.Compute { - [Cmdlet(VerbsData.Update, ProfileNouns.VirtualMachine, DefaultParameterSetName = ResourceGroupNameParameterSet)] + [Cmdlet(VerbsData.Update, ProfileNouns.VirtualMachine, DefaultParameterSetName = ResourceGroupNameParameterSet)] + [OutputType(typeof(PSComputeLongRunningOperation))] public class UpdateAzureVMCommand : VirtualMachineActionBaseCmdlet { [Alias("VMProfile")] @@ -53,7 +54,8 @@ protected override void ProcessRecord() }; var op = this.VirtualMachineClient.CreateOrUpdate(this.ResourceGroupName, parameters); - WriteObject(op); + var result = Mapper.Map(op); + WriteObject(result); }); } } diff --git a/src/ResourceManager/DataFactories/AzureRM.DataFactories.psd1 b/src/ResourceManager/DataFactories/AzureRM.DataFactories.psd1 index 795582c128a3..df860e6e8271 100644 --- a/src/ResourceManager/DataFactories/AzureRM.DataFactories.psd1 +++ b/src/ResourceManager/DataFactories/AzureRM.DataFactories.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'e3c0f6bc-fe96-41a0-88f4-5e490a91f05d' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - DataFactories' @@ -45,7 +45,7 @@ CLRVersion='4.0' ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }) +RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() diff --git a/src/ResourceManager/Dns/AzureRM.Dns.psd1 b/src/ResourceManager/Dns/AzureRM.Dns.psd1 index 29bf17bfae98..a40559d1082b 100644 --- a/src/ResourceManager/Dns/AzureRM.Dns.psd1 +++ b/src/ResourceManager/Dns/AzureRM.Dns.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '5e5ed8bc-27bf-4380-9de1-4b22ba0920b2' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - Dns' @@ -45,7 +45,7 @@ CLRVersion='4.0' ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }) +RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() diff --git a/src/ResourceManager/Dns/Commands.Dns/Microsoft.Azure.Commands.Dns.dll-help.psd1 b/src/ResourceManager/Dns/Commands.Dns/Microsoft.Azure.Commands.Dns.dll-help.psd1 index f1fdc091e6fb..aff7c38b0600 100644 --- a/src/ResourceManager/Dns/Commands.Dns/Microsoft.Azure.Commands.Dns.dll-help.psd1 +++ b/src/ResourceManager/Dns/Commands.Dns/Microsoft.Azure.Commands.Dns.dll-help.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '?Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ResourceManager/HDInsight/AzureRM.HDInsight.psd1 b/src/ResourceManager/HDInsight/AzureRM.HDInsight.psd1 index 3e41e4850a96..ee47bdce76c0 100644 --- a/src/ResourceManager/HDInsight/AzureRM.HDInsight.psd1 +++ b/src/ResourceManager/HDInsight/AzureRM.HDInsight.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '3fd1475f-cb23-4ffb-bf08-33d94b7d1acb' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - HDInsight' @@ -45,7 +45,7 @@ CLRVersion='4.0' ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }) +RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Microsoft.Azure.Commands.HDInsight.dll-help.psd1 b/src/ResourceManager/HDInsight/Commands.HDInsight/Microsoft.Azure.Commands.HDInsight.dll-help.psd1 index 2fabd8b39195..654fc3e66888 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Microsoft.Azure.Commands.HDInsight.dll-help.psd1 +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Microsoft.Azure.Commands.HDInsight.dll-help.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.9' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'F237EAAA-BD3A-4965-AD4A-BF38598BFEF7' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '© Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ResourceManager/Insights/AzureRM.Insights.psd1 b/src/ResourceManager/Insights/AzureRM.Insights.psd1 index 188bfc63d4ba..2884dec6e8c4 100644 --- a/src/ResourceManager/Insights/AzureRM.Insights.psd1 +++ b/src/ResourceManager/Insights/AzureRM.Insights.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '698c387c-bd6b-41c6-82ce-721f1ef39548' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - Insights' @@ -45,7 +45,7 @@ CLRVersion='4.0' ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }) +RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() diff --git a/src/ResourceManager/KeyVault/AzureRM.KeyVault.psd1 b/src/ResourceManager/KeyVault/AzureRM.KeyVault.psd1 index a1038d6ae575..3641951f0667 100644 --- a/src/ResourceManager/KeyVault/AzureRM.KeyVault.psd1 +++ b/src/ResourceManager/KeyVault/AzureRM.KeyVault.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'fa236c1f-6464-4d6a-a48d-db47c0e7923d' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - KeyVault' @@ -45,7 +45,7 @@ CLRVersion='4.0' ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }) +RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() diff --git a/src/ResourceManager/Network/AzureRM.Network.psd1 b/src/ResourceManager/Network/AzureRM.Network.psd1 index 4ceb711172c5..8ee727943271 100644 --- a/src/ResourceManager/Network/AzureRM.Network.psd1 +++ b/src/ResourceManager/Network/AzureRM.Network.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'eb75c732-e274-4a20-b502-e9958e63484a' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - Network' @@ -45,7 +45,7 @@ CLRVersion='4.0' ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }) +RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() diff --git a/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-Help.psd1 b/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-Help.psd1 index be21895b8e0e..c185d565a8c6 100644 --- a/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-Help.psd1 +++ b/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-Help.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.0.1' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'B37DCEB6-F8A8-4C76-B1FC-9C35DFE08977' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ResourceManager/OperationalInsights/AzureRM.OperationalInsights.psd1 b/src/ResourceManager/OperationalInsights/AzureRM.OperationalInsights.psd1 index 3c7ed013faf3..418704f1b874 100644 --- a/src/ResourceManager/OperationalInsights/AzureRM.OperationalInsights.psd1 +++ b/src/ResourceManager/OperationalInsights/AzureRM.OperationalInsights.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'e827799a-7abf-4538-a61f-94dc52a48bd4' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - OperationalInsights' @@ -45,7 +45,7 @@ CLRVersion='4.0' ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }) +RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/Common.ps1 index 28e3faa7d8d4..17f3de540dba 100644 --- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/Common.ps1 +++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/Common.ps1 @@ -36,7 +36,7 @@ Gets a valid storage account resource id #> function Get-StorageResourceId($rgname, $resourcename) { - $subscription = (Get-AzureRmSubscription -Default).SubscriptionId + $subscription = (Get-AzureRmContext).Subscription.SubscriptionId return "/subscriptions/$subscription/resourcegroups/$rgname/providers/microsoft.storage/storageaccounts/$resourcename" } diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/OperationalInsightsScenarioTestBase.cs b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/OperationalInsightsScenarioTestBase.cs index 7eb73b3e4349..01c8c250909a 100644 --- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/OperationalInsightsScenarioTestBase.cs +++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/OperationalInsightsScenarioTestBase.cs @@ -19,8 +19,10 @@ using Microsoft.Azure.Management.Resources; using Microsoft.Azure.Subscriptions; using Microsoft.Azure.Test; +using Microsoft.Azure.Test.HttpRecorder; using Microsoft.WindowsAzure.Commands.ScenarioTest; using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using System.Collections.Generic; namespace Microsoft.Azure.Commands.OperationalInsights.Test { @@ -51,6 +53,10 @@ protected void SetupManagementClients() protected void RunPowerShellTest(params string[] scripts) { + Dictionary d = new Dictionary(); + d.Add("Microsoft.Authorization", null); + HttpMockServer.Matcher = new PermissiveRecordMatcherWithApiExclusion(false, d); + using (UndoContext context = UndoContext.Current) { context.Start(TestUtilities.GetCallingClass(2), TestUtilities.GetCurrentMethodName(2)); diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/StorageInsightTests.cs b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/StorageInsightTests.cs index e71cd984a2e8..6d2c81b2fdb4 100644 --- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/StorageInsightTests.cs +++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/StorageInsightTests.cs @@ -19,14 +19,14 @@ namespace Microsoft.Azure.Commands.OperationalInsights.Test { public class StorageInsightTests : OperationalInsightsScenarioTestBase { - [Fact(Skip = "PSGet Migration: TODO: Get-AzureRmSubscription")] + [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestStorageInsightCreateUpdateDelete() { RunPowerShellTest("Test-StorageInsightCreateUpdateDelete"); } - [Fact(Skip = "PSGet Migration: TODO: Get-AzureRmSubscription")] + [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestStorageInsightCreateFailsWithoutWorkspace() { diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Microsoft.Azure.Commands.OperationalInsights.dll-Help.psd1 b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Microsoft.Azure.Commands.OperationalInsights.dll-Help.psd1 index d8ad91c1e30e..85f9ece171f4 100644 --- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Microsoft.Azure.Commands.OperationalInsights.dll-Help.psd1 +++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Microsoft.Azure.Commands.OperationalInsights.dll-Help.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.2' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '5BE35A94-C20F-4659-AA29-9B9AEBCFAF36' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ResourceManager/Profile/AzureRM.Profile.psd1 b/src/ResourceManager/Profile/AzureRM.Profile.psd1 index 6ba540780cdc..a417f7151faa 100644 --- a/src/ResourceManager/Profile/AzureRM.Profile.psd1 +++ b/src/ResourceManager/Profile/AzureRM.Profile.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.11' # ID used to uniquely identify this module GUID = '342714fc-4009-4863-8afb-a9067e3db04b' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - Profile' diff --git a/src/ResourceManager/Profile/Commands.Profile.Test/LoginCmdletTests.cs b/src/ResourceManager/Profile/Commands.Profile.Test/LoginCmdletTests.cs index dd4a70057b74..48a8b8ca779a 100644 --- a/src/ResourceManager/Profile/Commands.Profile.Test/LoginCmdletTests.cs +++ b/src/ResourceManager/Profile/Commands.Profile.Test/LoginCmdletTests.cs @@ -128,5 +128,41 @@ public void LoginWithNoSubscriptionAndTenant() Assert.NotNull(AzureRMCmdlet.DefaultProfile.Context); Assert.Equal("microsoft.com", AzureRMCmdlet.DefaultProfile.Context.Tenant.Domain); } + + [Fact] + [Trait(Category.AcceptanceType, Category.LiveOnly)] + public void LoginWithSubscriptionname() + { + var cmdlt = new AddAzureRMAccountCommand(); + // Setup + cmdlt.CommandRuntime = commandRuntimeMock; + cmdlt.Tenant = "72f988bf-86f1-41af-91ab-2d7cd011db47"; + cmdlt.SubscriptionName = "Node CLI Test"; + + // Act + cmdlt.InvokeBeginProcessing(); + cmdlt.ExecuteCmdlet(); + cmdlt.InvokeEndProcessing(); + + Assert.NotNull(AzureRMCmdlet.DefaultProfile.Context); + Assert.Equal("microsoft.com", AzureRMCmdlet.DefaultProfile.Context.Tenant.Domain); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.LiveOnly)] + public void LoginWithBothSubscriptionIdAndNameThrowsCloudException() + { + var cmdlt = new AddAzureRMAccountCommand(); + // Setup + cmdlt.CommandRuntime = commandRuntimeMock; + cmdlt.Tenant = "72f988bf-86f1-41af-91ab-2d7cd011db47"; + cmdlt.SubscriptionName = "Node CLI Test"; + cmdlt.SubscriptionId = "2c224e7e-3ef5-431d-a57b-e71f4662e3a6"; + + // Act + cmdlt.InvokeBeginProcessing(); + Assert.Throws(() => cmdlt.ExecuteCmdlet()); + cmdlt.InvokeEndProcessing(); + } } } diff --git a/src/ResourceManager/Profile/Commands.Profile/Account/AddAzureRmAccount.cs b/src/ResourceManager/Profile/Commands.Profile/Account/AddAzureRmAccount.cs index 735a695eaff8..158103085ca1 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Account/AddAzureRmAccount.cs +++ b/src/ResourceManager/Profile/Commands.Profile/Account/AddAzureRmAccount.cs @@ -20,6 +20,8 @@ using Microsoft.Azure.Commands.Profile.Models; using Microsoft.Azure.Commands.ResourceManager.Common; using Microsoft.Azure.Common.Authentication; +using System; +using Microsoft.Azure.Commands.Profile.Properties; namespace Microsoft.Azure.Commands.Profile { @@ -56,6 +58,10 @@ public class AddAzureRMAccountCommand : AzureRMCmdlet , IModuleAssemblyInitializ [ValidateNotNullOrEmpty] public string SubscriptionId { get; set; } + [Parameter(Mandatory = false, HelpMessage = "Subscription")] + [ValidateNotNullOrEmpty] + public string SubscriptionName { get; set; } + protected override AzureContext DefaultContext { get @@ -75,6 +81,17 @@ protected override void BeginProcessing() protected override void ProcessRecord() { + if (SubscriptionId != null && SubscriptionName != null) + { + throw new PSInvalidOperationException(Resources.BothSubscriptionIdAndNameProvided); + } + + Guid subscrptionIdGuid; + if (SubscriptionId != null && !Guid.TryParse(SubscriptionId, out subscrptionIdGuid)) + { + throw new PSInvalidOperationException(Resources.InvalidSubscriptionId); + } + AzureAccount azureAccount = new AzureAccount(); if (!string.IsNullOrEmpty(AccessToken)) @@ -109,7 +126,7 @@ protected override void ProcessRecord() var profileClient = new RMProfileClient(AzureRMCmdlet.DefaultProfile); - WriteObject((PSAzureProfile)profileClient.Login(azureAccount, Environment, Tenant, SubscriptionId, password)); + WriteObject((PSAzureProfile)profileClient.Login(azureAccount, Environment, Tenant, SubscriptionId, SubscriptionName, password)); } /// diff --git a/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj b/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj index d2f98ae45e7a..252b19eee0c4 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj +++ b/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj @@ -132,6 +132,8 @@ + + diff --git a/src/ResourceManager/Profile/Commands.Profile/DataCollection/DisableAzureRMDataCollection.cs b/src/ResourceManager/Profile/Commands.Profile/DataCollection/DisableAzureRMDataCollection.cs new file mode 100644 index 000000000000..194f5800838f --- /dev/null +++ b/src/ResourceManager/Profile/Commands.Profile/DataCollection/DisableAzureRMDataCollection.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.Profile.Models; +using Microsoft.Azure.Commands.ResourceManager.Common; +using System.Security.Permissions; + +namespace Microsoft.Azure.Commands.Profile +{ + [Cmdlet(VerbsLifecycle.Disable, "AzureRmDataCollection")] + public class DisableAzureRmDataCollectionCommand : EnableAzureRmDataCollectionCommand + { + protected override void ProcessRecord() + { + SetDataCollectionProfile(false); + } + } +} diff --git a/src/ResourceManager/Profile/Commands.Profile/DataCollection/EnableAzureRMDataCollection.cs b/src/ResourceManager/Profile/Commands.Profile/DataCollection/EnableAzureRMDataCollection.cs new file mode 100644 index 000000000000..19d425f7ce03 --- /dev/null +++ b/src/ResourceManager/Profile/Commands.Profile/DataCollection/EnableAzureRMDataCollection.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. +// ---------------------------------------------------------------------------------- + +using System.Management.Automation; +using Microsoft.Azure.Commands.Profile.Models; +using Microsoft.Azure.Commands.ResourceManager.Common; +using System.Security.Permissions; + +namespace Microsoft.Azure.Commands.Profile +{ + [Cmdlet(VerbsLifecycle.Enable, "AzureRmDataCollection")] + public class EnableAzureRmDataCollectionCommand : AzureRMCmdlet + { + protected override void ProcessRecord() + { + SetDataCollectionProfile(true); + } + + protected void SetDataCollectionProfile(bool enable) + { + var profile = GetDataCollectionProfile(); + profile.EnableAzureDataCollection = enable; + SaveDataCollectionProfile(); + } + } +} diff --git a/src/ResourceManager/Profile/Commands.Profile/Microsoft.Azure.Commands.Profile.dll-Help.psd1 b/src/ResourceManager/Profile/Commands.Profile/Microsoft.Azure.Commands.Profile.dll-Help.psd1 index acb022d51649..0e82e959e647 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Microsoft.Azure.Commands.Profile.dll-Help.psd1 +++ b/src/ResourceManager/Profile/Commands.Profile/Microsoft.Azure.Commands.Profile.dll-Help.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '?Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ResourceManager/Profile/Commands.Profile/Properties/Resources.Designer.cs b/src/ResourceManager/Profile/Commands.Profile/Properties/Resources.Designer.cs index ac0eae9ab4c0..4d0ead958c30 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Properties/Resources.Designer.cs +++ b/src/ResourceManager/Profile/Commands.Profile/Properties/Resources.Designer.cs @@ -69,6 +69,15 @@ internal static string AzureProfileMustNotBeNull { } } + /// + /// Looks up a localized string similar to Please provide either a subscription ID or a subscription name.. + /// + internal static string BothSubscriptionIdAndNameProvided { + get { + return ResourceManager.GetString("BothSubscriptionIdAndNameProvided", resourceCulture); + } + } + /// /// Looks up a localized string similar to Could not authenticate your user account {0} with the common tenant. Please login again using Login-AzureRmAccount.. /// @@ -78,6 +87,15 @@ internal static string CommonTenantAuthFailed { } } + /// + /// Looks up a localized string similar to The provided subscription ID "{0}" is not a valid Guid.. + /// + internal static string InvalidSubscriptionId { + get { + return ResourceManager.GetString("InvalidSubscriptionId", resourceCulture); + } + } + /// /// Looks up a localized string similar to (no account provided). /// diff --git a/src/ResourceManager/Profile/Commands.Profile/Properties/Resources.resx b/src/ResourceManager/Profile/Commands.Profile/Properties/Resources.resx index ea1af986447d..0e92efc9cc35 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Properties/Resources.resx +++ b/src/ResourceManager/Profile/Commands.Profile/Properties/Resources.resx @@ -120,9 +120,15 @@ Selected profile must not be null. + + Please provide either a subscription ID or a subscription name. + Could not authenticate your user account {0} with the common tenant. Please login again using Login-AzureRmAccount. + + The provided subscription ID "{0}" is not a valid Guid. + (no account provided) diff --git a/src/ResourceManager/RedisCache/AzureRM.RedisCache.psd1 b/src/ResourceManager/RedisCache/AzureRM.RedisCache.psd1 index b7e3b1b1bd57..7ecfb4e8e8e7 100644 --- a/src/ResourceManager/RedisCache/AzureRM.RedisCache.psd1 +++ b/src/ResourceManager/RedisCache/AzureRM.RedisCache.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '820628d7-6938-488a-8760-43373a5ffce6' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - RedisCache' @@ -45,7 +45,7 @@ CLRVersion='4.0' ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }) +RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() diff --git a/src/ResourceManager/Resources/AzureRM.Resources.psd1 b/src/ResourceManager/Resources/AzureRM.Resources.psd1 index 54d68824b41b..46753548826c 100644 --- a/src/ResourceManager/Resources/AzureRM.Resources.psd1 +++ b/src/ResourceManager/Resources/AzureRM.Resources.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'ab3ca893-26fe-44b0-bd3c-8933df144d7b' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - Resources' @@ -45,7 +45,7 @@ CLRVersion='4.0' ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }) +RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Commands.Resources.Rest.csproj b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Commands.Resources.Rest.csproj index 5b002cf6738b..9d1addb68712 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Commands.Resources.Rest.csproj +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Commands.Resources.Rest.csproj @@ -111,6 +111,8 @@ + + @@ -140,10 +142,15 @@ + + + + + diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Components/Constants.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Components/Constants.cs index d8bab349daf0..1675d890bf70 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Components/Constants.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Components/Constants.cs @@ -74,6 +74,11 @@ public static class Constants /// public static readonly string MicrosoftAuthorizationPolicyDefinitionType = Constants.MicrosoftAuthorizationNamespace + "/policydefinitions"; + /// + /// The policy definition resource type. + /// + public static readonly string MicrosoftAuthorizationPolicyAssignmentType = Constants.MicrosoftAuthorizationNamespace + "/policyassignments"; + /// /// The type name of the generic resource. /// diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Entities/Policy/PolicyAssignment.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Entities/Policy/PolicyAssignment.cs new file mode 100644 index 000000000000..a5adf71d3c82 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Entities/Policy/PolicyAssignment.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.ResourceManager.Cmdlets.Entities.Policy +{ + using Newtonsoft.Json; + + /// + /// The policy assignment object. + /// + public class PolicyAssignment + { + /// + /// The policy assignment properties. + /// + [JsonProperty(Required = Required.Default)] + public PolicyAssignmentProperties Properties { get; set; } + + /// + /// The policy assignment name. + /// + [JsonProperty(Required = Required.Default)] + public string Name { get; set; } + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Entities/Policy/PolicyAssignmentProperties.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Entities/Policy/PolicyAssignmentProperties.cs new file mode 100644 index 000000000000..228c08c32b44 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Entities/Policy/PolicyAssignmentProperties.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. +// ---------------------------------------------------------------------------------- + +namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.Policy +{ + using Newtonsoft.Json; + + /// + /// The policy assignment properties. + /// + public class PolicyAssignmentProperties + { + /// + /// The scope. + /// + [JsonProperty(Required = Required.Always)] + public string Scope { get; set; } + + /// + /// The display name. + /// + [JsonProperty(Required = Required.Default)] + public string DisplayName { get; set; } + + /// + /// The policy definition id. + /// + [JsonProperty(Required = Required.Always)] + public string PolicyDefinitionId { get; set; } + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Entities/Policy/PolicyDefinition.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Entities/Policy/PolicyDefinition.cs index a911eaba94e4..292fb220418f 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Entities/Policy/PolicyDefinition.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Entities/Policy/PolicyDefinition.cs @@ -21,6 +21,12 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.Policy /// public class PolicyDefinition { + /// + /// The policy definition name. + /// + [JsonProperty(Required = Required.Default)] + public string Name { get; set; } + /// /// The policy definition properties. /// diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Entities/Policy/PolicyDefinitionProperties.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Entities/Policy/PolicyDefinitionProperties.cs index 833ac0c622f6..be4ebb066e33 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Entities/Policy/PolicyDefinitionProperties.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Entities/Policy/PolicyDefinitionProperties.cs @@ -15,6 +15,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.Policy { using Newtonsoft.Json; + using Newtonsoft.Json.Linq; /// /// The policy definition properties. @@ -37,6 +38,6 @@ public class PolicyDefinitionProperties /// The policy rule. /// [JsonProperty(Required = Required.Always)] - public PolicyRule PolicyRule { get; set; } + public JObject PolicyRule { get; set; } } } diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Entities/Resources/ResourceSku.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Entities/Resources/ResourceSku.cs index ae79227e562d..050219b34d1d 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Entities/Resources/ResourceSku.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Entities/Resources/ResourceSku.cs @@ -12,10 +12,10 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using Newtonsoft.Json; + namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.Resources { - using Newtonsoft.Json; - /// /// The resource sku object. /// diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Extensions/ResourceExtensions.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Extensions/ResourceExtensions.cs index 34ac019297b8..0c33817f4946 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Extensions/ResourceExtensions.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Extensions/ResourceExtensions.cs @@ -61,6 +61,7 @@ internal static PSObject ToPsObject(this Resource resource, ResourceObje { "CreatedTime", resource.CreatedTime }, { "ChangedTime", resource.ChangedTime }, { "ETag", resource.ETag }, + { "Sku", resource.Sku.ToJToken().ToPsObject(objectFormat) }, }; var resourceTypeName = resourceType == null && extensionResourceType == null diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/NewAzureResourceLockCmdlet.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/NewAzureResourceLockCmdlet.cs index e34656e57e10..23c09cbf0ccb 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/NewAzureResourceLockCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/NewAzureResourceLockCmdlet.cs @@ -94,7 +94,7 @@ protected override void OnProcessRecord() var result = this.GetLongRunningOperationTracker(activityName: activity, isResourceCreateOrUpdate: true) .WaitOnOperation(operationResult: operationResult); - this.WriteObject(this.GetOutputObjects(result.ToJToken()), enumerateCollection: true); + this.WriteObject(this.GetOutputObjects(JObject.Parse(result)), enumerateCollection: true); }); } diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/GetAzurePolicyAssignment.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/GetAzurePolicyAssignment.cs new file mode 100644 index 000000000000..2be4dda2b71b --- /dev/null +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/GetAzurePolicyAssignment.cs @@ -0,0 +1,195 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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.ResourceManager.Cmdlets.Implementation +{ + using System.Management.Automation; + using System.Threading.Tasks; + using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components; + using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Extensions; + using Newtonsoft.Json.Linq; + + /// + /// Gets the policy assignment. + /// + [Cmdlet(VerbsCommon.Get, "AzureRmPolicyAssignment", DefaultParameterSetName = GetAzurePolicyAssignmentCmdlet.ParameterlessSet), OutputType(typeof(PSObject))] + public class GetAzurePolicyAssignmentCmdlet : PolicyAssignmentCmdletBase + { + /// + /// The policy Id parameter set. + /// + internal const string PolicyAssignmentIdParameterSet = "The policy assignment Id parameter set."; + + /// + /// The policy name parameter set. + /// + internal const string PolicyAssignmentNameParameterSet = "The policy assignment name parameter set."; + + /// + /// The list all policy parameter set. + /// + internal const string ParameterlessSet = "The list all policy assignments parameter set."; + + /// + /// Gets or sets the policy assignment name parameter. + /// + [Parameter(ParameterSetName = GetAzurePolicyAssignmentCmdlet.PolicyAssignmentNameParameterSet, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The policy assignment name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Gets or sets the policy assignment scope parameter. + /// + [Parameter(ParameterSetName = GetAzurePolicyAssignmentCmdlet.PolicyAssignmentNameParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The policy assignment name.")] + [ValidateNotNullOrEmpty] + public string Scope { get; set; } + + /// + /// Gets or sets the policy assignment id parameter + /// + [Alias("ResourceId")] + [Parameter(ParameterSetName = GetAzurePolicyAssignmentCmdlet.PolicyAssignmentIdParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The fully qualified policy assignment Id, including the subscription. e.g. /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}")] + [ValidateNotNullOrEmpty] + public string Id { get; set; } + + /// + /// Gets or sets the policy assignment policy definition id parameter + /// + [Parameter(ParameterSetName = GetAzurePolicyAssignmentCmdlet.PolicyAssignmentIdParameterSet, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The fully qualified policy assignment Id, including the subscription. e.g. /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}")] + [Parameter(ParameterSetName = GetAzurePolicyAssignmentCmdlet.PolicyAssignmentNameParameterSet, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The fully qualified policy assignment Id, including the subscription. e.g. /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}")] + [ValidateNotNullOrEmpty] + public string PolicyDefinitionId { get; set; } + + /// + /// Executes the cmdlet. + /// + protected override void OnProcessRecord() + { + base.OnProcessRecord(); + + this.RunCmdlet(); + } + + /// + /// Contains the cmdlet's execution logic. + /// + private void RunCmdlet() + { + PaginatedResponseHelper.ForEach( + getFirstPage: () => this.GetResources(), + getNextPage: nextLink => this.GetNextLink(nextLink), + cancellationToken: this.CancellationToken, + action: resources => this.WriteObject(sendToPipeline: this.GetOutputObjects(resources), enumerateCollection: true)); + } + + /// + /// Queries the ARM cache and returns the cached resource that match the query specified. + /// + private async Task> GetResources() + { + string resourceId = this.Id ?? this.GetResourceId(); + + var apiVersion = await this + .DetermineApiVersion(resourceId: resourceId) + .ConfigureAwait(continueOnCapturedContext: false); + + if (IsResourceGet(resourceId)) + { + var resource = await this + .GetResourcesClient() + .GetResource( + resourceId: resourceId, + apiVersion: apiVersion, + cancellationToken: this.CancellationToken.Value, + odataQuery: null) + .ConfigureAwait(continueOnCapturedContext: false); + ResponseWithContinuation retVal; + return resource.TryConvertTo(out retVal) && retVal.Value != null + ? retVal + : new ResponseWithContinuation { Value = resource.AsArray() }; + } + else if (IsScopeLevelList(resourceId))//If only scope is given, list assignments call + { + string filter = "$filter=atScope()"; + return await this + .GetResourcesClient() + .ListObjectColleciton( + resourceCollectionId: resourceId, + apiVersion: apiVersion, + cancellationToken: this.CancellationToken.Value, + odataQuery: filter) + .ConfigureAwait(continueOnCapturedContext: false); + } + else + { + string filter = string.IsNullOrEmpty(this.PolicyDefinitionId) + ? null + : string.Format("$filter=policydefinitionid eq '{0}'", this.PolicyDefinitionId); + + return await this + .GetResourcesClient() + .ListObjectColleciton( + resourceCollectionId: resourceId, + apiVersion: apiVersion, + cancellationToken: this.CancellationToken.Value, + odataQuery: filter) + .ConfigureAwait(continueOnCapturedContext: false); + } + } + + /// + /// Returns true if it is scope level policy assignment list call + /// + private bool IsScopeLevelList(string resourceId) + { + return (!string.IsNullOrEmpty(this.Scope) && string.IsNullOrEmpty(this.Name)) + || (!string.IsNullOrEmpty(this.Scope) && string.IsNullOrEmpty(ResourceIdUtility.GetResourceName(resourceId))); + } + + /// + /// Returns true if it is a single policy assignment get + /// + /// + private bool IsResourceGet(string resourceId) + { + return (!string.IsNullOrEmpty(this.Name) && !string.IsNullOrEmpty(this.Scope)) + || !string.IsNullOrEmpty(ResourceIdUtility.GetResourceName(resourceId)); + } + + /// + /// Gets the resource Id + /// + private string GetResourceId() + { + var subscriptionId = DefaultContext.Subscription.Id; + if(string.IsNullOrEmpty(this.Name) && string.IsNullOrEmpty(this.Scope)) + { + return string.Format("/subscriptions/{0}/providers/{1}", + subscriptionId.ToString(), + Constants.MicrosoftAuthorizationPolicyAssignmentType); + } + else if(string.IsNullOrEmpty(this.Name) && !string.IsNullOrEmpty(this.Scope)) + { + return ResourceIdUtility.GetResourceId( + resourceId: this.Scope, + extensionResourceType: Constants.MicrosoftAuthorizationPolicyAssignmentType, + extensionResourceName: null); + } + return ResourceIdUtility.GetResourceId( + resourceId: this.Scope, + extensionResourceType: Constants.MicrosoftAuthorizationPolicyAssignmentType, + extensionResourceName: this.Name); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/GetAzurePolicyDefinition.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/GetAzurePolicyDefinition.cs index a861805494d0..b9e286285e6d 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/GetAzurePolicyDefinition.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/GetAzurePolicyDefinition.cs @@ -89,7 +89,7 @@ private async Task> GetResources() .DetermineApiVersion(resourceId: resourceId) .ConfigureAwait(continueOnCapturedContext: false); - if (!string.IsNullOrEmpty(ResourceIdUtility.GetResourceGroupName(resourceId))) + if (!string.IsNullOrEmpty(ResourceIdUtility.GetResourceName(resourceId))) { var resource = await this .GetResourcesClient() diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/NewAzurePolicyAssignment.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/NewAzurePolicyAssignment.cs new file mode 100644 index 000000000000..1f6fe448a2f1 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/NewAzurePolicyAssignment.cs @@ -0,0 +1,125 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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.ResourceManager.Cmdlets.Implementation +{ + using System.IO; + using System.Management.Automation; + using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components; + using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.Policy; + using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.Resources; + using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Extensions; + using Microsoft.Azure.Common.Authentication; + using Microsoft.WindowsAzure.Commands.Utilities.Common; + using Newtonsoft.Json.Linq; + + /// + /// Creates a policy assignment. + /// + [Cmdlet(VerbsCommon.New, "AzureRmPolicyAssignment"), OutputType(typeof(PSObject))] + public class NewAzurePolicyAssignmentCmdlet : PolicyAssignmentCmdletBase + { + /// + /// Gets or sets the policy assignment name parameter. + /// + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The policy assignment name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Gets or sets the policy assignment scope parameter + /// + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The scope for policy assignment.")] + [ValidateNotNullOrEmpty] + public string Scope { get; set; } + + /// + /// Gets or sets the policy assignment display name parameter + /// + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The description for policy assignment.")] + [ValidateNotNullOrEmpty] + public string DisplayName { get; set; } + + /// + /// Gets or sets the policy assignment policy definition parameter. + /// + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The pollicy definition object.")] + public PSObject PolicyDefinition { get; set; } + + /// + /// Executes the cmdlet. + /// + protected override void OnProcessRecord() + { + base.OnProcessRecord(); + if(this.PolicyDefinition.Properties["policyDefinitionId"] == null) + { + throw new PSInvalidOperationException("The supplied PolicyDefinition object is invalid."); + } + string resourceId = GetResourceId(); + var apiVersion = this.DetermineApiVersion(resourceId: resourceId).Result; + + var operationResult = this.GetResourcesClient() + .PutResource( + resourceId: resourceId, + apiVersion: apiVersion, + resource: this.GetResource(), + cancellationToken: this.CancellationToken.Value, + odataQuery: null) + .Result; + + var managementUri = this.GetResourcesClient() + .GetResourceManagementRequestUri( + resourceId: resourceId, + apiVersion: apiVersion, + odataQuery: null); + + var activity = string.Format("PUT {0}", managementUri.PathAndQuery); + var result = this.GetLongRunningOperationTracker(activityName: activity, isResourceCreateOrUpdate: true) + .WaitOnOperation(operationResult: operationResult); + + this.WriteObject(this.GetOutputObjects(JObject.Parse(result)), enumerateCollection: true); + } + + /// + /// Gets the resource Id + /// + private string GetResourceId() + { + return ResourceIdUtility.GetResourceId( + resourceId: this.Scope, + extensionResourceType: Constants.MicrosoftAuthorizationPolicyAssignmentType, + extensionResourceName: this.Name); + } + + /// + /// Constructs the resource + /// + private JToken GetResource() + { + var policyassignmentObject = new PolicyAssignment + { + Name = this.Name, + Properties = new PolicyAssignmentProperties + { + DisplayName = this.DisplayName ?? null, + PolicyDefinitionId = this.PolicyDefinition.Properties["policyDefinitionId"].Value.ToString(), + Scope = this.Scope + } + }; + + return policyassignmentObject.ToJToken(); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/NewAzurePolicyDefinition.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/NewAzurePolicyDefinition.cs index 63cd2a756c49..80cc1c35e683 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/NewAzurePolicyDefinition.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/NewAzurePolicyDefinition.cs @@ -52,11 +52,11 @@ public class NewAzurePolicyDefinitionCmdlet : PolicyDefinitionCmdletBase public string Description { get; set; } /// - /// Gets or sets the policy rule parameter + /// Gets or sets the policy parameter /// [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The rule for policy definition. This can either be a path to a file name containing the rule, or the rule as string.")] [ValidateNotNullOrEmpty] - public string PolicyRule { get; set; } + public string Policy { get; set; } /// /// Executes the cmdlet. @@ -85,8 +85,7 @@ protected override void OnProcessRecord() var activity = string.Format("PUT {0}", managementUri.PathAndQuery); var result = this.GetLongRunningOperationTracker(activityName: activity, isResourceCreateOrUpdate: true) .WaitOnOperation(operationResult: operationResult); - - this.WriteObject(this.GetOutputObjects(result.ToJToken()), enumerateCollection: true); + this.WriteObject(this.GetOutputObjects(JObject.Parse(result)), enumerateCollection: true); } /// @@ -108,20 +107,26 @@ private JToken GetResource() { var policyDefinitionObject = new PolicyDefinition { + Name = this.Name, Properties = new PolicyDefinitionProperties { Description = this.Description ?? null, DisplayName = this.DisplayName ?? null, - PolicyRule = new PolicyRule - { - Rule = File.Exists(this.PolicyRule) - ? FileUtilities.DataStore.ReadFileAsText(this.TryResolvePath(this.PolicyRule)) - : this.PolicyRule - } + PolicyRule = JObject.Parse(GetPolicyRuleObject().ToString()) } }; return policyDefinitionObject.ToJToken(); } + + /// + /// Gets the policy rule object + /// + private JToken GetPolicyRuleObject() + { + return File.Exists(this.Policy) + ? JToken.FromObject(FileUtilities.DataStore.ReadFileAsText(this.TryResolvePath(this.Policy))) + : JToken.FromObject(this.Policy); + } } } diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/PolicyAssignmentCmdletBase.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/PolicyAssignmentCmdletBase.cs new file mode 100644 index 000000000000..daf0c8232874 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/PolicyAssignmentCmdletBase.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. +// ---------------------------------------------------------------------------------- + +namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation +{ + using System.Linq; + using System.Management.Automation; + using System.Threading.Tasks; + using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components; + using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.Resources; + using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Extensions; + using Newtonsoft.Json.Linq; + + /// + /// Base class for policy assignment cmdlets. + /// + public abstract class PolicyAssignmentCmdletBase : ResourceManagerCmdletBase + { + /// + /// Gets the next set of resources using the + /// + /// The next link. + protected Task> GetNextLink(string nextLink) + { + return this + .GetResourcesClient() + .ListNextBatch(nextLink: nextLink, cancellationToken: this.CancellationToken.Value); + } + + /// + /// Converts the resource object to policy definition object. + /// + /// The policy definition resource object. + protected PSObject[] GetOutputObjects(params JToken[] resources) + { + return resources + .CoalesceEnumerable() + .Where(resource => resource != null) + .SelectArray(resource => + { + var psobject = resource.ToResource().ToPsObject(ResourceObjectFormat.New); + psobject.Properties.Add(new PSNoteProperty("PolicyAssignmentId", psobject.Properties["ResourceId"].Value)); + return psobject; + }); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/RemoveAzurePolicyAssignment.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/RemoveAzurePolicyAssignment.cs new file mode 100644 index 000000000000..107ce04308cc --- /dev/null +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/RemoveAzurePolicyAssignment.cs @@ -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. +// ---------------------------------------------------------------------------------- + +namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation +{ + using System.Management.Automation; + using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components; + + /// + /// Removes the policy assignment. + /// + [Cmdlet(VerbsCommon.Remove, "AzureRmPolicyAssignment", DefaultParameterSetName = RemoveAzurePolicyAssignmentCmdlet.PolicyAssignmentNameParameterSet), OutputType(typeof(bool))] + public class RemoveAzurePolicyAssignmentCmdlet : PolicyAssignmentCmdletBase + { + /// + /// The policy assignment Id parameter set. + /// + internal const string PolicyAssignmentIdParameterSet = "The policy assignment Id parameter set."; + + /// + /// The policy assignment name parameter set. + /// + internal const string PolicyAssignmentNameParameterSet = "The policy assignment name parameter set."; + + /// + /// Gets or sets the policy assignment name parameter. + /// + [Parameter(ParameterSetName = RemoveAzurePolicyAssignmentCmdlet.PolicyAssignmentNameParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The policy assignment name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Gets or sets the policy assignment scope parameter. + /// + [Parameter(ParameterSetName = RemoveAzurePolicyAssignmentCmdlet.PolicyAssignmentNameParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The policy assignment name.")] + [ValidateNotNullOrEmpty] + public string Scope { get; set; } + + /// + /// Gets or sets the policy assignment id parameter + /// + [Alias("ResourceId")] + [Parameter(ParameterSetName = RemoveAzurePolicyAssignmentCmdlet.PolicyAssignmentIdParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The fully qualified policy assignment Id, including the subscription. e.g. /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}")] + [ValidateNotNullOrEmpty] + public string Id { get; set; } + + /// + /// Gets or sets the force parameter. + /// + [Parameter(Mandatory = false, HelpMessage = "Do not ask for confirmation.")] + public SwitchParameter Force { get; set; } + + /// + /// Executes the cmdlet. + /// + protected override void OnProcessRecord() + { + base.OnProcessRecord(); + + this.RunCmdlet(); + } + + /// + /// Contains the cmdlet's execution logic. + /// + private void RunCmdlet() + { + base.OnProcessRecord(); + string resourceId = this.Id ?? this.GetResourceId(); + this.ConfirmAction( + this.Force, + string.Format("Are you sure you want to delete the following policy assignment: {0}", resourceId), + "Deleting the policy assignment...", + resourceId, + () => + { + var apiVersion = this.DetermineApiVersion(resourceId: resourceId).Result; + + var operationResult = this.GetResourcesClient() + .DeleteResource( + resourceId: resourceId, + apiVersion: apiVersion, + cancellationToken: this.CancellationToken.Value, + odataQuery: null) + .Result; + + var managementUri = this.GetResourcesClient() + .GetResourceManagementRequestUri( + resourceId: resourceId, + apiVersion: apiVersion, + odataQuery: null); + + var activity = string.Format("DELETE {0}", managementUri.PathAndQuery); + + this.GetLongRunningOperationTracker(activityName: activity, isResourceCreateOrUpdate: false) + .WaitOnOperation(operationResult: operationResult); + + this.WriteObject(true); + }); + } + + /// + /// Gets the resource Id from the supplied PowerShell parameters. + /// + protected string GetResourceId() + { + return ResourceIdUtility.GetResourceId( + resourceId: this.Scope, + extensionResourceType: Constants.MicrosoftAuthorizationPolicyAssignmentType, + extensionResourceName: this.Name); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/SetAzurePolicyAssignment.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/SetAzurePolicyAssignment.cs new file mode 100644 index 000000000000..eb16de99d3d4 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/SetAzurePolicyAssignment.cs @@ -0,0 +1,151 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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.ResourceManager.Cmdlets.Implementation +{ + using System.IO; + using System.Management.Automation; + using System.Threading.Tasks; + using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components; + using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.Policy; + using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Extensions; + using Microsoft.Azure.Common.Authentication; + using Microsoft.WindowsAzure.Commands.Utilities.Common; + using Newtonsoft.Json.Linq; + + /// + /// Sets the policy assignment. + /// + [Cmdlet(VerbsCommon.Set, "AzureRmPolicyAssignment", DefaultParameterSetName = SetAzurePolicyAssignmentCmdlet.PolicyAssignmentNameParameterSet), OutputType(typeof(PSObject))] + public class SetAzurePolicyAssignmentCmdlet : PolicyAssignmentCmdletBase + { + /// + /// The policy Id parameter set. + /// + internal const string PolicyAssignmentIdParameterSet = "The policy assignment Id parameter set."; + + /// + /// The policy name parameter set. + /// + internal const string PolicyAssignmentNameParameterSet = "The policy assignment name parameter set."; + + /// + /// Gets or sets the policy assignment name parameter. + /// + [Parameter(ParameterSetName = SetAzurePolicyAssignmentCmdlet.PolicyAssignmentNameParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The policy assignment name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Gets or sets the policy assignment scope parameter. + /// + [Parameter(ParameterSetName = SetAzurePolicyAssignmentCmdlet.PolicyAssignmentNameParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The policy assignment name.")] + [ValidateNotNullOrEmpty] + public string Scope { get; set; } + + /// + /// Gets or sets the policy assignment id parameter + /// + [Alias("ResourceId")] + [Parameter(ParameterSetName = SetAzurePolicyAssignmentCmdlet.PolicyAssignmentIdParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The fully qualified policy assignment Id, including the subscription. e.g. /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}")] + [ValidateNotNullOrEmpty] + public string Id { get; set; } + + /// + /// Gets or sets the policy assignment display name parameter + /// + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The display name for policy assignment.")] + [ValidateNotNullOrEmpty] + public string DisplayName { get; set; } + + /// + /// Executes the cmdlet. + /// + protected override void OnProcessRecord() + { + base.OnProcessRecord(); + string resourceId = this.Id ?? this.GetResourceId(); + var apiVersion = this.DetermineApiVersion(resourceId: resourceId).Result; + + var operationResult = this.GetResourcesClient() + .PutResource( + resourceId: resourceId, + apiVersion: apiVersion, + resource: this.GetResource(resourceId, apiVersion), + cancellationToken: this.CancellationToken.Value, + odataQuery: null) + .Result; + + var managementUri = this.GetResourcesClient() + .GetResourceManagementRequestUri( + resourceId: resourceId, + apiVersion: apiVersion, + odataQuery: null); + + var activity = string.Format("PUT {0}", managementUri.PathAndQuery); + var result = this.GetLongRunningOperationTracker(activityName: activity, isResourceCreateOrUpdate: true) + .WaitOnOperation(operationResult: operationResult); + + this.WriteObject(this.GetOutputObjects(JObject.Parse(result)), enumerateCollection: true); + } + + /// + /// Constructs the resource + /// + private JToken GetResource(string resourceId, string apiVersion) + { + var resource = this.GetExistingResource(resourceId, apiVersion).Result.ToResource(); + + var policyAssignmentObject = new PolicyAssignment + { + Name = this.Name ?? ResourceIdUtility.GetResourceName(this.Id), + Properties = new PolicyAssignmentProperties + { + DisplayName = this.DisplayName ?? (resource.Properties["displayName"] != null + ? resource.Properties["displayName"].ToString() + : null), + Scope = resource.Properties["scope"].ToString(), + PolicyDefinitionId = resource.Properties["policyDefinitionId"].ToString() + } + }; + + return policyAssignmentObject.ToJToken(); + } + + /// + /// Gets a resource. + /// + private async Task GetExistingResource(string resourceId, string apiVersion) + { + return await this + .GetResourcesClient() + .GetResource( + resourceId: resourceId, + apiVersion: apiVersion, + cancellationToken: this.CancellationToken.Value) + .ConfigureAwait(continueOnCapturedContext: false); + } + + /// + /// Gets the resource Id from the supplied PowerShell parameters. + /// + protected string GetResourceId() + { + return ResourceIdUtility.GetResourceId( + resourceId: this.Scope, + extensionResourceType: Constants.MicrosoftAuthorizationPolicyAssignmentType, + extensionResourceName: this.Name); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/SetAzurePolicyDefinition.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/SetAzurePolicyDefinition.cs index 911f3d21eb7f..ed58a246aa05 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/SetAzurePolicyDefinition.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/SetAzurePolicyDefinition.cs @@ -74,7 +74,7 @@ public class SetAzurePolicyDefinitionCmdlet : PolicyDefinitionCmdletBase /// [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The rule for policy definition. This can either be a path to a file name containing the rule, or the rule as string.")] [ValidateNotNullOrEmpty] - public string PolicyRule { get; set; } + public string Policy { get; set; } /// /// Executes the cmdlet. @@ -104,7 +104,7 @@ protected override void OnProcessRecord() var result = this.GetLongRunningOperationTracker(activityName: activity, isResourceCreateOrUpdate: true) .WaitOnOperation(operationResult: operationResult); - this.WriteObject(this.GetOutputObjects(result.ToJToken()), enumerateCollection: true); + this.WriteObject(this.GetOutputObjects(JObject.Parse(result)), enumerateCollection: true); } /// @@ -113,30 +113,27 @@ protected override void OnProcessRecord() private JToken GetResource(string resourceId, string apiVersion) { var resource = this.GetExistingResource(resourceId, apiVersion).Result.ToResource(); - var policyProperties = JsonUtilities.DeserializeJson(resource.Properties.ToString()); + var policyDefinitionObject = new PolicyDefinition { + Name = this.Name ?? ResourceIdUtility.GetResourceName(this.Id), Properties = new PolicyDefinitionProperties { - Description = this.Description ?? policyProperties["Description"].ToString(), - DisplayName = this.DisplayName ?? policyProperties["DisplayName"].ToString(), - PolicyRule = new PolicyRule - { - Rule = File.Exists(this.PolicyRule) - ? FileUtilities.DataStore.ReadFileAsText(this.TryResolvePath(this.PolicyRule)) - : this.PolicyRule - } + Description = this.Description ?? (resource.Properties["description"] != null + ? resource.Properties["description"].ToString() + : null), + DisplayName = this.DisplayName ?? (resource.Properties["displayName"] != null + ? resource.Properties["displayName"].ToString() + : null) } }; - if(!string.IsNullOrEmpty(this.PolicyRule)) + if(!string.IsNullOrEmpty(this.Policy)) { - policyDefinitionObject.Properties.PolicyRule.Rule = File.Exists(this.PolicyRule) - ? FileUtilities.DataStore.ReadFileAsText(this.TryResolvePath(this.PolicyRule)) - : this.PolicyRule; + policyDefinitionObject.Properties.PolicyRule = JObject.Parse(GetPolicyRuleObject().ToString()); } else { - policyDefinitionObject.Properties.PolicyRule.Rule = (policyProperties["PolicyRule"] as PolicyRule).Rule; + policyDefinitionObject.Properties.PolicyRule = JObject.Parse(resource.Properties["policyRule"].ToString()); } return policyDefinitionObject.ToJToken(); @@ -167,5 +164,15 @@ protected string GetResourceId() Constants.MicrosoftAuthorizationPolicyDefinitionType, this.Name); } + + /// + /// Gets the policy rule object + /// + protected JToken GetPolicyRuleObject() + { + return File.Exists(this.Policy) + ? JToken.FromObject(FileUtilities.DataStore.ReadFileAsText(this.TryResolvePath(this.Policy))) + : JToken.FromObject(this.Policy); + } } } diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/RemoveAzureResourceLockCmdlet.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/RemoveAzureResourceLockCmdlet.cs index fa749836f4f9..92a94ad4eb1d 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/RemoveAzureResourceLockCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/RemoveAzureResourceLockCmdlet.cs @@ -65,6 +65,11 @@ protected override void OnProcessRecord() cancellationToken: this.CancellationToken.Value) .Result; + if(operationResult.HttpStatusCode == System.Net.HttpStatusCode.NoContent) + { + throw new PSInvalidOperationException(string.Format("The resource lock '{0}' could not be found.", resourceId)); + } + var managementUri = this.GetResourcesClient() .GetResourceManagementRequestUri( resourceId: resourceId, @@ -75,7 +80,7 @@ protected override void OnProcessRecord() var result = this.GetLongRunningOperationTracker(activityName: activity, isResourceCreateOrUpdate: false) .WaitOnOperation(operationResult: operationResult); - this.WriteObject(this.GetOutputObjects(result.ToJToken()), enumerateCollection: true); + this.WriteObject(true); }); } } 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 978282aded95..0d614ccf2c9f 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/Commands.Resources.Test.csproj +++ b/src/ResourceManager/Resources/Commands.Resources.Test/Commands.Resources.Test.csproj @@ -203,10 +203,12 @@ + + - + True @@ -244,6 +246,9 @@ + + Always + Always @@ -293,6 +298,12 @@ PreserveNewest + + PreserveNewest + + + PreserveNewest + PreserveNewest @@ -311,6 +322,12 @@ Always + + Always + + + PreserveNewest + Always @@ -350,6 +367,9 @@ Always + + Always + Always diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/Models.ResourceGroups/ResourceClientTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/Models.ResourceGroups/ResourceClientTests.cs index bb420a7c6af2..d9337fe144bd 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/Models.ResourceGroups/ResourceClientTests.cs +++ b/src/ResourceManager/Resources/Commands.Resources.Test/Models.ResourceGroups/ResourceClientTests.cs @@ -1408,7 +1408,7 @@ public void ShowsFailureErrorWhenResourceGroupWithDeploymentFails() Properties = new DeploymentOperationProperties() { ProvisioningState = ProvisioningState.Failed, - StatusMessage = "A really bad error occured", + StatusMessage = "{\"Code\":\"Conflict\"}", TargetResource = new TargetResource() { ResourceType = "Microsoft.Website", @@ -1433,7 +1433,7 @@ public void ShowsFailureErrorWhenResourceGroupWithDeploymentFails() f => f(string.Format("Resource {0} '{1}' failed with message '{2}'", "Microsoft.Website", resourceName, - "A really bad error occured")), + "{\"Code\":\"Conflict\"}")), Times.Once()); } diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ResourceGroupDeployments/NewAzureResourceGroupDeploymentCommandTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/ResourceGroupDeployments/NewAzureResourceGroupDeploymentCommandTests.cs index 15ff45fac23f..3f0f8b515afa 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ResourceGroupDeployments/NewAzureResourceGroupDeploymentCommandTests.cs +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ResourceGroupDeployments/NewAzureResourceGroupDeploymentCommandTests.cs @@ -59,8 +59,6 @@ public void CreatesNewPSResourceGroupDeploymentWithUserTemplate() { TemplateFile = templateFile, DeploymentName = deploymentName, - StorageAccountName = storageAccountName, - TemplateVersion = "1.0" }; CreatePSResourceGroupDeploymentParameters actualParameters = new CreatePSResourceGroupDeploymentParameters(); PSResourceGroupDeployment expected = new PSResourceGroupDeployment() @@ -97,75 +95,12 @@ public void CreatesNewPSResourceGroupDeploymentWithUserTemplate() cmdlet.ResourceGroupName = resourceGroupName; cmdlet.Name = expectedParameters.DeploymentName; cmdlet.TemplateFile = expectedParameters.TemplateFile; - cmdlet.TemplateVersion = expectedParameters.TemplateVersion; cmdlet.ExecuteCmdlet(); Assert.Equal(expectedParameters.DeploymentName, actualParameters.DeploymentName); - Assert.Equal(expectedParameters.GalleryTemplateIdentity, actualParameters.GalleryTemplateIdentity); Assert.Equal(expectedParameters.TemplateFile, actualParameters.TemplateFile); Assert.NotNull(actualParameters.TemplateParameterObject); - Assert.Equal(expectedParameters.TemplateVersion, actualParameters.TemplateVersion); - - commandRuntimeMock.Verify(f => f.WriteObject(expected), Times.Once()); - } - - [Fact] - [Trait(Category.AcceptanceType, Category.CheckIn)] - public void CreatesNewPSResourceGroupDeploymentWithGalleryTemplate() - { - CreatePSResourceGroupDeploymentParameters expectedParameters = new CreatePSResourceGroupDeploymentParameters() - { - GalleryTemplateIdentity = "sqlServer", - DeploymentName = deploymentName, - StorageAccountName = storageAccountName, - TemplateVersion = "1.0" - }; - CreatePSResourceGroupDeploymentParameters actualParameters = new CreatePSResourceGroupDeploymentParameters(); - PSResourceGroupDeployment expected = new PSResourceGroupDeployment() - { - Mode = DeploymentMode.Incremental, - DeploymentName = deploymentName, - CorrelationId = "123", - Outputs = new Dictionary() - { - { "Variable1", new DeploymentVariable() { Value = "true", Type = "bool" } }, - { "Variable2", new DeploymentVariable() { Value = "10", Type = "int" } }, - { "Variable3", new DeploymentVariable() { Value = "hello world", Type = "string" } } - }, - Parameters = new Dictionary() - { - { "Parameter1", new DeploymentVariable() { Value = "true", Type = "bool" } }, - { "Parameter2", new DeploymentVariable() { Value = "10", Type = "int" } }, - { "Parameter3", new DeploymentVariable() { Value = "hello world", Type = "string" } } - }, - ProvisioningState = ProvisioningState.Succeeded, - ResourceGroupName = resourceGroupName, - TemplateLink = new TemplateLink() - { - ContentVersion = "1.0", - Uri = new Uri("http://mytemplate.com") - }, - Timestamp = new DateTime(2014, 2, 13) - }; - resourcesClientMock.Setup(f => f.ExecuteDeployment( - It.IsAny())) - .Returns(expected) - .Callback((CreatePSResourceGroupDeploymentParameters p) => { actualParameters = p; }); - - cmdlet.ResourceGroupName = resourceGroupName; - cmdlet.Name = expectedParameters.DeploymentName; - cmdlet.GalleryTemplateIdentity = expectedParameters.GalleryTemplateIdentity; - cmdlet.TemplateVersion = expectedParameters.TemplateVersion; - - cmdlet.ExecuteCmdlet(); - - Assert.Equal(expectedParameters.DeploymentName, actualParameters.DeploymentName); - Assert.Equal(expectedParameters.GalleryTemplateIdentity, actualParameters.GalleryTemplateIdentity); - Assert.Equal(expectedParameters.TemplateFile, actualParameters.TemplateFile); - Assert.NotNull(actualParameters.TemplateParameterObject); - Assert.Equal(expectedParameters.TemplateVersion, actualParameters.TemplateVersion); - Assert.Equal(null, actualParameters.StorageAccountName); commandRuntimeMock.Verify(f => f.WriteObject(expected), Times.Once()); } diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/Templates/TestAzureResourceGroupTemplateCommandTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/ResourceGroupDeployments/TestAzureResourceGroupDeploymentCommandTests.cs similarity index 52% rename from src/ResourceManager/Resources/Commands.Resources.Test/Templates/TestAzureResourceGroupTemplateCommandTests.cs rename to src/ResourceManager/Resources/Commands.Resources.Test/ResourceGroupDeployments/TestAzureResourceGroupDeploymentCommandTests.cs index d4532d6dc805..b752368947ad 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/Templates/TestAzureResourceGroupTemplateCommandTests.cs +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ResourceGroupDeployments/TestAzureResourceGroupDeploymentCommandTests.cs @@ -23,9 +23,9 @@ namespace Microsoft.Azure.Commands.Resources.Test.Resources { - public class TestAzureResourceGroupTemplateCommandTests + public class TestAzureResourceGroupDeploymentCommandTests { - private TestAzureResourceGroupTemplateCommand cmdlet; + private TestAzureResourceGroupDeploymentCommand cmdlet; private Mock resourcesClientMock; @@ -35,13 +35,11 @@ public class TestAzureResourceGroupTemplateCommandTests private string templateFile = @"Resources\sampleTemplateFile.json"; - private string storageAccountName = "myStorageAccount"; - - public TestAzureResourceGroupTemplateCommandTests() + public TestAzureResourceGroupDeploymentCommandTests() { resourcesClientMock = new Mock(); commandRuntimeMock = new Mock(); - cmdlet = new TestAzureResourceGroupTemplateCommand() + cmdlet = new TestAzureResourceGroupDeploymentCommand() { CommandRuntime = commandRuntimeMock.Object, ResourcesClient = resourcesClientMock.Object @@ -53,9 +51,7 @@ public void ValidatesPSResourceGroupDeploymentWithUserTemplate() { ValidatePSResourceGroupDeploymentParameters expectedParameters = new ValidatePSResourceGroupDeploymentParameters() { - TemplateFile = templateFile, - StorageAccountName = storageAccountName, - TemplateVersion = "1.0" + TemplateFile = templateFile }; ValidatePSResourceGroupDeploymentParameters actualParameters = new ValidatePSResourceGroupDeploymentParameters(); List expected = new List() @@ -83,63 +79,11 @@ public void ValidatesPSResourceGroupDeploymentWithUserTemplate() cmdlet.ResourceGroupName = resourceGroupName; cmdlet.TemplateFile = expectedParameters.TemplateFile; - cmdlet.TemplateVersion = expectedParameters.TemplateVersion; - - cmdlet.ExecuteCmdlet(); - - Assert.Equal(expectedParameters.GalleryTemplateIdentity, actualParameters.GalleryTemplateIdentity); - Assert.Equal(expectedParameters.TemplateFile, actualParameters.TemplateFile); - Assert.NotNull(actualParameters.TemplateParameterObject); - Assert.Equal(expectedParameters.TemplateVersion, actualParameters.TemplateVersion); - Assert.Equal(null, actualParameters.StorageAccountName); - - commandRuntimeMock.Verify(f => f.WriteObject(expected), Times.Once()); - } - - [Fact] - public void ValidatesPSResourceGroupDeploymentWithGalleryTemplate() - { - ValidatePSResourceGroupDeploymentParameters expectedParameters = new ValidatePSResourceGroupDeploymentParameters() - { - GalleryTemplateIdentity = "sqlServer", - StorageAccountName = storageAccountName, - TemplateVersion = "1.0" - }; - ValidatePSResourceGroupDeploymentParameters actualParameters = new ValidatePSResourceGroupDeploymentParameters(); - List expected = new List() - { - new PSResourceManagerError() - { - Code = "202", - Message = "bad input", - }, - new PSResourceManagerError() - { - Code = "203", - Message = "bad input 2", - }, - new PSResourceManagerError() - { - Code = "203", - Message = "bad input 3", - } - }; - resourcesClientMock.Setup(f => f.ValidatePSResourceGroupDeployment( - It.IsAny(), DeploymentMode.Incremental)) - .Returns(expected) - .Callback((ValidatePSResourceGroupDeploymentParameters p, DeploymentMode m) => { actualParameters = p; m = DeploymentMode.Incremental; }); - - cmdlet.ResourceGroupName = resourceGroupName; - cmdlet.GalleryTemplateIdentity = expectedParameters.GalleryTemplateIdentity; - cmdlet.TemplateVersion = expectedParameters.TemplateVersion; cmdlet.ExecuteCmdlet(); - Assert.Equal(expectedParameters.GalleryTemplateIdentity, actualParameters.GalleryTemplateIdentity); Assert.Equal(expectedParameters.TemplateFile, actualParameters.TemplateFile); Assert.NotNull(actualParameters.TemplateParameterObject); - Assert.Equal(expectedParameters.TemplateVersion, actualParameters.TemplateVersion); - Assert.Equal(null, actualParameters.StorageAccountName); commandRuntimeMock.Verify(f => f.WriteObject(expected), Times.Once()); } diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ResourceGroups/NewAzureResourceGroupCommandTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/ResourceGroups/NewAzureResourceGroupCommandTests.cs index 8fafbeaadea5..b3962439e97c 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ResourceGroups/NewAzureResourceGroupCommandTests.cs +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ResourceGroups/NewAzureResourceGroupCommandTests.cs @@ -73,8 +73,6 @@ public void CreatesNewPSResourceGroupWithUserTemplate() Location = resourceGroupLocation, TemplateFile = templateFile, DeploymentName = deploymentName, - StorageAccountName = storageAccountName, - TemplateVersion = "1.0", Tag = tags }; CreatePSResourceGroupParameters actualParameters = new CreatePSResourceGroupParameters(); @@ -93,7 +91,6 @@ public void CreatesNewPSResourceGroupWithUserTemplate() cmdlet.Location = expectedParameters.Location; cmdlet.TemplateFile = expectedParameters.TemplateFile; cmdlet.DeploymentName = expectedParameters.DeploymentName; - cmdlet.TemplateVersion = expectedParameters.TemplateVersion; cmdlet.Tag = expectedParameters.Tag; cmdlet.ExecuteCmdlet(); @@ -101,58 +98,11 @@ public void CreatesNewPSResourceGroupWithUserTemplate() Assert.Equal(expectedParameters.ResourceGroupName, actualParameters.ResourceGroupName); Assert.Equal(expectedParameters.Location, actualParameters.Location); Assert.Equal(expectedParameters.DeploymentName, actualParameters.DeploymentName); - Assert.Equal(expectedParameters.GalleryTemplateIdentity, actualParameters.GalleryTemplateIdentity); Assert.Equal(expectedParameters.TemplateFile, actualParameters.TemplateFile); Assert.NotNull(actualParameters.TemplateParameterObject); - Assert.Equal(expectedParameters.TemplateVersion, actualParameters.TemplateVersion); - Assert.Equal(null, actualParameters.StorageAccountName); Assert.Equal(expectedParameters.Tag, actualParameters.Tag); commandRuntimeMock.Verify(f => f.WriteObject(expected), Times.Once()); } - - [Fact] - [Trait(Category.AcceptanceType, Category.CheckIn)] - public void CreatesNewPSResourceGroupWithGalleryTemplate() - { - CreatePSResourceGroupParameters expectedParameters = new CreatePSResourceGroupParameters() - { - ResourceGroupName = resourceGroupName, - Location = resourceGroupLocation, - GalleryTemplateIdentity = "sqlServer", - DeploymentName = deploymentName, - StorageAccountName = storageAccountName, - TemplateVersion = "1.0" - }; - CreatePSResourceGroupParameters actualParameters = new CreatePSResourceGroupParameters(); - PSResourceGroup expected = new PSResourceGroup() - { - Location = expectedParameters.Location, - ResourceGroupName = expectedParameters.ResourceGroupName, - Resources = new List() { new PSResource() { Name = "resource1" } } - }; - resourcesClientMock.Setup(f => f.CreatePSResourceGroup(It.IsAny())) - .Returns(expected) - .Callback((CreatePSResourceGroupParameters p) => { actualParameters = p; }); - - cmdlet.Name = expectedParameters.ResourceGroupName; - cmdlet.Location = expectedParameters.Location; - cmdlet.GalleryTemplateIdentity = expectedParameters.GalleryTemplateIdentity; - cmdlet.DeploymentName = expectedParameters.DeploymentName; - cmdlet.TemplateVersion = expectedParameters.TemplateVersion; - - cmdlet.ExecuteCmdlet(); - - Assert.Equal(expectedParameters.ResourceGroupName, actualParameters.ResourceGroupName); - Assert.Equal(expectedParameters.Location, actualParameters.Location); - Assert.Equal(expectedParameters.DeploymentName, actualParameters.DeploymentName); - Assert.Equal(expectedParameters.GalleryTemplateIdentity, actualParameters.GalleryTemplateIdentity); - Assert.Equal(expectedParameters.TemplateFile, actualParameters.TemplateFile); - Assert.NotNull(actualParameters.TemplateParameterObject); - Assert.Equal(expectedParameters.TemplateVersion, actualParameters.TemplateVersion); - Assert.Equal(null, actualParameters.StorageAccountName); - - commandRuntimeMock.Verify(f => f.WriteObject(expected), Times.Once()); - } } } diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SamplePolicyDefinition.json b/src/ResourceManager/Resources/Commands.Resources.Test/SamplePolicyDefinition.json new file mode 100644 index 000000000000..b0ea6d86117b --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SamplePolicyDefinition.json @@ -0,0 +1 @@ +{"if": {"source": "action","equals": "Microsoft.Resources/Subscriptions/ResourceGroups/write"},"then": {"effect": "deny"}} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/PolicyTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/PolicyTests.cs new file mode 100644 index 000000000000..619e00d061e4 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/PolicyTests.cs @@ -0,0 +1,38 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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.Test.Utilities.Common; +using Xunit; + +namespace Microsoft.Azure.Commands.Resources.Test.ScenarioTests +{ + public class PolicyTests : RMTestBase + { + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestPolicyDefinitionCRUD() + { + ResourcesController.NewInstance.RunPsTest("Test-PolicyDefinitionCRUD"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestPolicyAssignmentCRUD() + { + ResourcesController.NewInstance.RunPsTest("Test-PolicyAssignmentCRUD"); + } + } +} diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/PolicyTests.ps1 b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/PolicyTests.ps1 new file mode 100644 index 000000000000..9241d43a1148 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/PolicyTests.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 +Tests Policy definition CRUD operations +#> +function Test-PolicyDefinitionCRUD +{ + # Setup + $policyName = Get-ResourceName + + # Test + $actual = New-AzureRMPolicyDefinition -Name $policyName -Policy SamplePolicyDefinition.json + $expected = Get-AzureRMPolicyDefinition -Name $policyName + Assert-AreEqual $expected.Name $actual.Name + Assert-AreEqual $expected.PolicyDefinitionId $actual.PolicyDefinitionId + Assert-NotNull($actual.Properties.PolicyRule) + + $actual = Set-AzureRMPolicyDefinition -Name $policyName -DisplayName testDisplay -Description testDescription + $expected = Get-AzureRMPolicyDefinition -Name $policyName + Assert-AreEqual $expected.Properties.DisplayName $actual.Properties.DisplayName + Assert-AreEqual $expected.Properties.Description $actual.Properties.Description + + New-AzureRMPolicyDefinition -Name test2 -Policy "{""if"":{""source"":""action"",""equals"":""blah""},""then"":{""effect"":""deny""}}" + $list = Get-AzureRMPolicyDefinition + Assert-AreEqual 2 @($list).Count + + $remove = Remove-AzureRMPolicyDefinition -Name $policyName -Force + Assert-AreEqual True $remove + +} + +<# +.SYNOPSIS +Tests Policy assignment CRUD operations +#> +function Test-PolicyAssignmentCRUD +{ + # Setup + $rgname = Get-ResourceGroupName + $policyName = Get-ResourceName + + # Test + $rg = New-AzureRMResourceGroup -Name $rgname -Location "west us" + $policy = New-AzureRMPolicyDefinition -Name $policyName -Policy SamplePolicyDefinition.json + $actual = New-AzureRMPolicyAssignment -Name testPA -PolicyDefinition $policy -Scope $rg.ResourceId + $expected = Get-AzureRMPolicyAssignment -Name testPA -Scope $rg.ResourceId + + Assert-AreEqual $expected.Name $actual.Name + Assert-AreEqual Microsoft.Authorization/policyAssignments $actual.ResourceType + Assert-AreEqual $expected.PolicyAssignmentId $actual.PolicyAssignmentId + Assert-AreEqual $expected.Properties.PolicyDefinitionId $policy.PolicyDefinitionId + Assert-AreEqual $expected.Properties.Scope $rg.ResourceId + + $actualId = Get-AzureRMPolicyAssignment -Id $actual.ResourceId + Assert-AreEqual $actual.ResourceId $actualId.ResourceId + + $set = Set-AzureRMPolicyAssignment -Id $actualId.ResourceId -DisplayName testDisplay + Assert-AreEqual testDisplay $set.Properties.DisplayName + + New-AzureRMPolicyAssignment -Name test2 -Scope $rg.ResourceId -PolicyDefinition $policy + $list = Get-AzureRMPolicyAssignment + Assert-AreEqual 2 @($list).Count + + $remove = Remove-AzureRMPolicyAssignment -Name test2 -Scope $rg.ResourceId -Force + Assert-AreEqual True $remove + +} diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceLockTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceLockTests.cs new file mode 100644 index 000000000000..2bb2a1bda20a --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceLockTests.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 Microsoft.WindowsAzure.Commands.ScenarioTest; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Xunit; + +namespace Microsoft.Azure.Commands.Resources.Test.ScenarioTests +{ + public class ResourceLockTests : RMTestBase + { + [Fact] + public void TestResourceLockCRUDTest() + { + ResourcesController.NewInstance.RunPsTest("Test-ResourceLockCRUD"); + } + } +} diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceLockTests.ps1 b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceLockTests.ps1 new file mode 100644 index 000000000000..602369989fc0 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceLockTests.ps1 @@ -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. +# ---------------------------------------------------------------------------------- + +<# +.SYNOPSIS +Tests resource lock CRUD operations. +#> +function Test-ResourceLockCRUD +{ + # Setup + $rgname = Get-ResourceGroupName + $rname = Get-ResourceName + $rglocation = Get-ProviderLocation ResourceManagement + $apiversion = "2014-04-01" + + $rg = New-AzureRMResourceGroup -Name $rgname -Location $rglocation + $actual = New-AzureRMResourceLock -LockName $rname -LockLevel CanNotDelete -Force -Scope $rg.ResourceId + $expected = Get-AzureRMResourceLock -LockName $rname -Scope $rg.ResourceId + + # Assert + Assert-AreEqual $expected.Name $actual.Name + Assert-AreEqual $expected.ResourceId $actual.ResourceId + Assert-AreEqual $expected.ResourceName $actual.ResourceName + Assert-AreEqual $expected.ResourceType $actual.ResourceType + Assert-AreEqual $expected.LockId $actual.LockId + + $expectedSet = Set-AzureRMResourceLock -LockId $expected.LockId -LockLevel CanNotDelete -LockNotes test -Force + Assert-AreEqual $expectedSet.Properties.Notes "test" + + $removed = Remove-AzureRMResourceLock -LockId $expectedSet.LockId -Force + Assert-AreEqual True $removed + +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceTests.ps1 b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceTests.ps1 index 88612b3bb834..0bcb8a4e06f8 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceTests.ps1 +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceTests.ps1 @@ -27,9 +27,9 @@ function Test-CreatesNewSimpleResource $resourceType = "Microsoft.Sql/servers" # Test - New-AzureRMResourceGroup -Name $rgname -Location $rglocation - $actual = New-AzureRMResource -Name $rname -Location $location -Tags @{Name = "testtag"; Value = "testval"} -ResourceGroupName $rgname -ResourceType $resourceType -PropertyObject @{"administratorLogin" = "adminuser"; "administratorLoginPassword" = "P@ssword1"} -SkuObject @{ Name = "A0" } -ApiVersion $apiversion - $expected = Get-AzureRMResource -Name $rname -ResourceGroupName $rgname -ResourceType $resourceType -ApiVersion $apiversion + New-AzureRmResourceGroup -Name $rgname -Location $rglocation + $actual = New-AzureRmResource -Name $rname -Location $location -Tags @{Name = "testtag"; Value = "testval"} -ResourceGroupName $rgname -ResourceType $resourceType -PropertyObject @{"administratorLogin" = "adminuser"; "administratorLoginPassword" = "P@ssword1"} -SkuObject @{ Name = "A0" } -ApiVersion $apiversion + $expected = Get-AzureRmResource -Name $rname -ResourceGroupName $rgname -ResourceType $resourceType -ApiVersion $apiversion $list = Get-AzureRmResource -ResourceGroupName $rgname @@ -259,10 +259,10 @@ function Test-SetAResource $resourceType = "Providers.Test/statefulResources" # Test - New-AzureRMResourceGroup -Name $rgname -Location $rglocation - $resource = New-AzureRMResource -Name $rname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} -ResourceGroupName $rgname -ResourceType $resourceType -PropertyObject @{"key" = "value"} -SkuObject @{ Name = "A0" } -ApiVersion $apiversion -Force - Set-AzureRMResource -ResourceGroupName $rgname -ResourceName $rname -ResourceType $resourceType -Properties @{"key2" = "value2"} -Force - Set-AzureRMResource -ResourceGroupName $rgname -ResourceName $rname -ResourceType $resourceType -SkuObject @{ Name = "A1" } -Force + New-AzureRmResourceGroup -Name $rgname -Location $rglocation + $resource = New-AzureRmResource -Name $rname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} -ResourceGroupName $rgname -ResourceType $resourceType -PropertyObject @{"key" = "value"} -SkuObject @{ Name = "A0" } -ApiVersion $apiversion -Force + Set-AzureRmResource -ResourceGroupName $rgname -ResourceName $rname -ResourceType $resourceType -Properties @{"key2" = "value2"} -Force + Set-AzureRmResource -ResourceGroupName $rgname -ResourceName $rname -ResourceType $resourceType -SkuObject @{ Name = "A1" } -Force $modifiedResource = Get-AzureRmResource -ResourceGroupName $rgname -ResourceName $rname -ResourceType $resourceType diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleAssignmentTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleAssignmentTests.cs index f00e0377d006..87207409e023 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleAssignmentTests.cs +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleAssignmentTests.cs @@ -37,21 +37,21 @@ public void RaAuthorizationChangeLog() ResourcesController.NewInstance.RunPsTest("Test-RaAuthorizationChangeLog"); } - [Fact(Skip = "PSGet Migration: TODO: Get-AzureRmSubscription")] + [Fact(Skip = "Need to re-record test")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void RaClassicAdmins() { ResourcesController.NewInstance.RunPsTest("Test-RaClassicAdmins"); } - [Fact(Skip = "PSGet Migration: TODO: Get-AzureRmSubscription")] + [Fact(Skip = "Need to re-record test")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void RaNegativeScenarios() { ResourcesController.NewInstance.RunPsTest("Test-RaNegativeScenarios"); } - [Fact(Skip = "PSGet Migration: TODO: Get-AzureRmSubscription")] + [Fact(Skip = "Need to re-record test")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void RaByScope() { diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.PolicyTests/TestPolicyAssignmentCRUD.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.PolicyTests/TestPolicyAssignmentCRUD.json new file mode 100644 index 000000000000..e387560e9ce7 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.PolicyTests/TestPolicyAssignmentCRUD.json @@ -0,0 +1,758 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourcegroups/onesdk7249?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Jlc291cmNlZ3JvdXBzL29uZXNkazcyNDk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14985" + ], + "x-ms-request-id": [ + "ecd4facd-acab-43cf-b886-6cbb640d70ed" + ], + "x-ms-correlation-request-id": [ + "ecd4facd-acab-43cf-b886-6cbb640d70ed" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T065318Z:ecd4facd-acab-43cf-b886-6cbb640d70ed" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 06:53:18 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourcegroups/onesdk7249?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Jlc291cmNlZ3JvdXBzL29uZXNkazcyNDk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "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.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249\",\r\n \"name\": \"onesdk7249\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "173" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-request-id": [ + "6717de26-2686-43a1-9737-0c301123e1a5" + ], + "x-ms-correlation-request-id": [ + "6717de26-2686-43a1-9737-0c301123e1a5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T065319Z:6717de26-2686-43a1-9737-0c301123e1a5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 06:53:19 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Jlc291cmNlR3JvdXBzL29uZXNkazcyNDkvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "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": [ + "14984" + ], + "x-ms-request-id": [ + "37e8cd9b-c04a-451e-8c65-61557fb86292" + ], + "x-ms-correlation-request-id": [ + "37e8cd9b-c04a-451e-8c65-61557fb86292" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T065319Z:37e8cd9b-c04a-451e-8c65-61557fb86292" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 06:53:19 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourcegroups/onesdk7249/providers/Microsoft.Authorization/permissions?api-version=2015-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Jlc291cmNlZ3JvdXBzL29uZXNkazcyNDkvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTUtMDctMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/1.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 \"nextLink\": null\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "61" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "014f46b1-54ed-41c2-bfac-fbc455044942" + ], + "x-ms-gateway-service-instanceid": [ + "PASFE_IN_3" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14983" + ], + "x-ms-correlation-request-id": [ + "85b5e0fa-eca9-4afa-a501-99071b1d622f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T065320Z:85b5e0fa-eca9-4afa-a501-99071b1d622f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 06:53:20 GMT" + ], + "Set-Cookie": [ + "x-ms-gateway-slice=productionb; path=/" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers?api-version=2015-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Byb3ZpZGVycz9hcGktdmVyc2lvbj0yMDE1LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": {}, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"authorization\": {\r\n \"applicationId\": \"96231a05-34ce-4eb4-aa6a-70759cbb5e83\",\r\n \"roleDefinitionId\": \"4f731528-ba85-45c7-acfb-cd0a9b3cf31b\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-03-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01-alpha\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-03-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01-alpha\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-03-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01-alpha\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"RedisConfigDefinition\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-03-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.classiccompute\",\r\n \"namespace\": \"microsoft.classiccompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkDomainNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots/roles\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots/roles/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots/roles/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"resourceTypes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.classicnetwork\",\r\n \"namespace\": \"microsoft.classicnetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"gatewaySupportedDevices\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.classicstorage\",\r\n \"namespace\": \"microsoft.classicstorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"India South\",\r\n \"India Central\",\r\n \"India West\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-beta\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"India South\",\r\n \"India Central\",\r\n \"India West\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"disks\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"images\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Insights\",\r\n \"namespace\": \"Microsoft.Insights\",\r\n \"authorization\": {\r\n \"applicationId\": \"11c174dc-1945-4a9a-a36b-c79a0f246b9b\",\r\n \"roleDefinitionId\": \"dd9d4347-f397-45f2-b538-85f21c90037b\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-01\",\r\n \"2014-08-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-01\",\r\n \"2014-08-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"queries\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-01\",\r\n \"2014-08-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-11-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operationResults\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"automatedExportSettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-20\",\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-20\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-11-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"West US\",\r\n \"East US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"West US\",\r\n \"East US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"locations\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"locations/capabilities\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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 \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/serviceObjectives\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/administrators\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/administratorOperationResults\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/import\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/importExportOperationResults\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/operationResults\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/auditingPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/recommendedElasticPools\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/auditingPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/connectionPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/securityMetrics\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/dataMaskingPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/dataMaskingPolicies/rules\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/resourcepools\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/elasticpools\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/usages\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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 \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/elasticpools/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 \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/elasticpools/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 \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/topQueries\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/topQueries/queryText\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"authorization\": {\r\n \"applicationId\": \"499b84ac-1321-427f-aa17-267ca6975798\",\r\n \"roleDefinitionId\": \"6a18f445-86f0-4e2e-b8a9-6b9b5677e3d8\"\r\n },\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 \"Australia East\"\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 \"Australia East\"\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.web\",\r\n \"namespace\": \"microsoft.web\",\r\n \"authorization\": {\r\n \"applicationId\": \"abfa0a7c-a6b6-4736-8310-5855508787cd\",\r\n \"roleDefinitionId\": \"f47ed98b-b063-4a5b-9e10-4b9b44fa7735\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"ishostnameavailable\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"availableStacks\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"listSitesAssignedToHostName\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/hostNameBindings\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/hostNameBindings\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/recommendations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"recommendations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/premieraddons\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/instances\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/instances/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/instances/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/instances\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/instances/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/instances/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"deploymentLocations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"ishostingenvironmentnameavailable\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"classicMobileServices\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"clusters\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"configuration\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"agents\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reports\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"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 \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.AppService\",\r\n \"namespace\": \"Microsoft.AppService\",\r\n \"authorization\": {\r\n \"applicationId\": \"dee7ba80-6a55-4f3b-a86c-746a9231ae49\",\r\n \"roleDefinitionId\": \"6715d172-49c4-46f6-bb21-60512a8689dc\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"apiapps\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"Central US\",\r\n \"Brazil South\",\r\n \"East US 2\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"West India\",\r\n \"South India\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-beta\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"appIdentities\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"Central US\",\r\n \"Brazil South\",\r\n \"East US 2\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"West India\",\r\n \"South India\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-beta\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"gateways\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"Central US\",\r\n \"Brazil South\",\r\n \"East US 2\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"West India\",\r\n \"South India\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-beta\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"deploymenttemplates\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-beta\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization\",\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"roleAssignments\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"roleDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"classicAdministrators\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2015-05-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"permissions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locks\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2015-01-01\",\r\n \"2014-10-01-preview\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyAssignments\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providerOperations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01-preview\",\r\n \"2015-07-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Automation\",\r\n \"namespace\": \"Microsoft.Automation\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"automationAccounts\",\r\n \"locations\": [\r\n \"Japan East\",\r\n \"East US 2\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"automationAccounts/runbooks\",\r\n \"locations\": [\r\n \"Japan East\",\r\n \"East US 2\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"automationAccounts/configurations\",\r\n \"locations\": [\r\n \"Japan East\",\r\n \"East US 2\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.BingMaps\",\r\n \"namespace\": \"Microsoft.BingMaps\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"mapApis\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-07-02\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-02\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"listCommunicationPreference\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-02\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"updateCommunicationPreference\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-02\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"2014-04-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"availabilitySets\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\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 \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-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 \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/vmSizes\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/usages\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/publishers\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"North Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"West Europe\",\r\n \"Brazil South\",\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 \"2015-10-01\",\r\n \"2015-09-01\",\r\n \"2015-08-01\",\r\n \"2015-07-01-preview\",\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\",\r\n \"2014-12-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkDataFactoryNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkAzureDataFactoryNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01\",\r\n \"2015-09-01\",\r\n \"2015-08-01\",\r\n \"2015-07-01-preview\",\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactorySchema\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01\",\r\n \"2015-09-01\",\r\n \"2015-08-01\",\r\n \"2015-07-01-preview\",\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01\",\r\n \"2015-09-01\",\r\n \"2015-08-01\",\r\n \"2015-07-01-preview\",\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Devices\",\r\n \"namespace\": \"Microsoft.Devices\",\r\n \"authorization\": {\r\n \"applicationId\": \"EEB48693-78E0-42BC-8C34-5E2C5C335FF6\",\r\n \"roleDefinitionId\": \"6F87B449-F496-443E-8275-4605047714B3\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-15-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"IotHubs\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-15-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.DevTestLab\",\r\n \"namespace\": \"Microsoft.DevTestLab\",\r\n \"authorization\": {\r\n \"applicationId\": \"1a14be2a-e903-4cec-99cf-b2e209259a0f\",\r\n \"roleDefinitionId\": \"8f2de81a-b9aa-49d8-b24c-11814d3ab525\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-05-21-preview\",\r\n \"2015-05-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"databaseAccountNames\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.DomainRegistration\",\r\n \"namespace\": \"Microsoft.DomainRegistration\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domains\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"topLevelDomains\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkDomainAvailability\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"listDomainRecommendations\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateDomainRegistrationInformation\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"generateSsoRequest\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.DynamicsLcs\",\r\n \"namespace\": \"Microsoft.DynamicsLcs\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"lcsprojects\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-tie-preview\",\r\n \"2015-02-01-test-preview\",\r\n \"2015-02-01-preview\",\r\n \"2015-02-01-p2-preview\",\r\n \"2015-02-01-p1-preview\",\r\n \"2015-02-01-int-preview\",\r\n \"2015-02-01-intp2-preview\",\r\n \"2015-02-01-intp1-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"lcsprojects/clouddeployments\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-tie-preview\",\r\n \"2015-02-01-test-preview\",\r\n \"2015-02-01-preview\",\r\n \"2015-02-01-p2-preview\",\r\n \"2015-02-01-p1-preview\",\r\n \"2015-02-01-int-preview\",\r\n \"2015-02-01-intp2-preview\",\r\n \"2015-02-01-intp1-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.EventHub\",\r\n \"namespace\": \"Microsoft.EventHub\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-12-19-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-12-19-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-12-19-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Logic\",\r\n \"namespace\": \"Microsoft.Logic\",\r\n \"authorization\": {\r\n \"applicationId\": \"7cd684f4-8a78-49b0-91ec-6a35d38739ba\",\r\n \"roleDefinitionId\": \"cb3ef1fb-6e31-49e2-9d87-ed821053fe58\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workflows\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.MarketplaceOrdering\",\r\n \"namespace\": \"Microsoft.MarketplaceOrdering\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"agreements\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Network\",\r\n \"namespace\": \"Microsoft.Network\",\r\n \"authorization\": {\r\n \"applicationId\": \"2cf9eb86-36b5-49dc-86ae-9a63135dfa8c\",\r\n \"roleDefinitionId\": \"13ba9ab4-19f0-4804-adc4-14ece36cc7a1\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"publicIPAddresses\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"networkInterfaces\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"loadBalancers\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"networkSecurityGroups\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"routeTables\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualNetworkGateways\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"localNetworkGateways\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"connections\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"applicationGateways\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operationResults\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/CheckDnsNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/usages\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/A\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/AAAA\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/CNAME\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/PTR\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/MX\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/TXT\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/SRV\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"trafficmanagerprofiles\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-28-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkTrafficManagerNameAvailability\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.NotificationHubs\",\r\n \"namespace\": \"Microsoft.NotificationHubs\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"namespaces/notificationHubs\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNamespaceAvailability\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia Southeast\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/tagnames\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"links\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Brazil South\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-19\",\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-19\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-19\",\r\n \"2015-02-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.ServiceBus\",\r\n \"namespace\": \"Microsoft.ServiceBus\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNamespaceAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2014-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"East US 2 (Stage)\",\r\n \"West US\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"usages\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"East US 2 (Stage)\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"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 \"East US\",\r\n \"West US\",\r\n \"East US 2 (Stage)\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 Europe\",\r\n \"East US 2\",\r\n \"North Europe\",\r\n \"Japan East\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"East US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-09-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-03-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"North Europe\",\r\n \"Japan East\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"East US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-09-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-03-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-03-01-preview\"\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 \"Central India\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"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 \"Central India\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-07-01-Preview\",\r\n \"2015-03-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-07-01-Preview\",\r\n \"2015-03-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"authorization\": {\r\n \"allowedThirdPartyExtensions\": [\r\n {\r\n \"name\": \"NewRelic_AzurePortal_APM\"\r\n }\r\n ]\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Sendgrid.Email\",\r\n \"namespace\": \"Sendgrid.Email\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "77608" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14990" + ], + "x-ms-request-id": [ + "ad15276d-bbff-4104-bc64-67e422c5a15c" + ], + "x-ms-correlation-request-id": [ + "ad15276d-bbff-4104-bc64-67e422c5a15c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T065321Z:ad15276d-bbff-4104-bc64-67e422c5a15c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 06:53:20 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers?api-version=2015-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Byb3ZpZGVycz9hcGktdmVyc2lvbj0yMDE1LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": {}, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"authorization\": {\r\n \"applicationId\": \"96231a05-34ce-4eb4-aa6a-70759cbb5e83\",\r\n \"roleDefinitionId\": \"4f731528-ba85-45c7-acfb-cd0a9b3cf31b\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-03-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01-alpha\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-03-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01-alpha\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-03-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01-alpha\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"RedisConfigDefinition\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-03-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.classiccompute\",\r\n \"namespace\": \"microsoft.classiccompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkDomainNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots/roles\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots/roles/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots/roles/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"resourceTypes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.classicnetwork\",\r\n \"namespace\": \"microsoft.classicnetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"gatewaySupportedDevices\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.classicstorage\",\r\n \"namespace\": \"microsoft.classicstorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"India South\",\r\n \"India Central\",\r\n \"India West\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-beta\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"India South\",\r\n \"India Central\",\r\n \"India West\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"disks\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"images\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Insights\",\r\n \"namespace\": \"Microsoft.Insights\",\r\n \"authorization\": {\r\n \"applicationId\": \"11c174dc-1945-4a9a-a36b-c79a0f246b9b\",\r\n \"roleDefinitionId\": \"dd9d4347-f397-45f2-b538-85f21c90037b\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-01\",\r\n \"2014-08-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-01\",\r\n \"2014-08-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"queries\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-01\",\r\n \"2014-08-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-11-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operationResults\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"automatedExportSettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-20\",\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-20\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-11-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"West US\",\r\n \"East US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"West US\",\r\n \"East US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"locations\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"locations/capabilities\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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 \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/serviceObjectives\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/administrators\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/administratorOperationResults\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/import\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/importExportOperationResults\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/operationResults\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/auditingPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/recommendedElasticPools\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/auditingPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/connectionPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/securityMetrics\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/dataMaskingPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/dataMaskingPolicies/rules\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/resourcepools\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/elasticpools\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/usages\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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 \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/elasticpools/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 \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/elasticpools/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 \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/topQueries\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/topQueries/queryText\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"authorization\": {\r\n \"applicationId\": \"499b84ac-1321-427f-aa17-267ca6975798\",\r\n \"roleDefinitionId\": \"6a18f445-86f0-4e2e-b8a9-6b9b5677e3d8\"\r\n },\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 \"Australia East\"\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 \"Australia East\"\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.web\",\r\n \"namespace\": \"microsoft.web\",\r\n \"authorization\": {\r\n \"applicationId\": \"abfa0a7c-a6b6-4736-8310-5855508787cd\",\r\n \"roleDefinitionId\": \"f47ed98b-b063-4a5b-9e10-4b9b44fa7735\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"ishostnameavailable\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"availableStacks\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"listSitesAssignedToHostName\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/hostNameBindings\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/hostNameBindings\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/recommendations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"recommendations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/premieraddons\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/instances\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/instances/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/instances/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/instances\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/instances/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/instances/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"deploymentLocations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"ishostingenvironmentnameavailable\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"classicMobileServices\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"clusters\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"configuration\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"agents\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reports\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"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 \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.AppService\",\r\n \"namespace\": \"Microsoft.AppService\",\r\n \"authorization\": {\r\n \"applicationId\": \"dee7ba80-6a55-4f3b-a86c-746a9231ae49\",\r\n \"roleDefinitionId\": \"6715d172-49c4-46f6-bb21-60512a8689dc\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"apiapps\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"Central US\",\r\n \"Brazil South\",\r\n \"East US 2\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"West India\",\r\n \"South India\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-beta\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"appIdentities\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"Central US\",\r\n \"Brazil South\",\r\n \"East US 2\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"West India\",\r\n \"South India\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-beta\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"gateways\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"Central US\",\r\n \"Brazil South\",\r\n \"East US 2\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"West India\",\r\n \"South India\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-beta\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"deploymenttemplates\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-beta\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization\",\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"roleAssignments\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"roleDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"classicAdministrators\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2015-05-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"permissions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locks\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2015-01-01\",\r\n \"2014-10-01-preview\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyAssignments\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providerOperations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01-preview\",\r\n \"2015-07-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Automation\",\r\n \"namespace\": \"Microsoft.Automation\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"automationAccounts\",\r\n \"locations\": [\r\n \"Japan East\",\r\n \"East US 2\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"automationAccounts/runbooks\",\r\n \"locations\": [\r\n \"Japan East\",\r\n \"East US 2\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"automationAccounts/configurations\",\r\n \"locations\": [\r\n \"Japan East\",\r\n \"East US 2\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.BingMaps\",\r\n \"namespace\": \"Microsoft.BingMaps\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"mapApis\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-07-02\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-02\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"listCommunicationPreference\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-02\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"updateCommunicationPreference\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-02\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"2014-04-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"availabilitySets\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\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 \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-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 \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/vmSizes\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/usages\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/publishers\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"North Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"West Europe\",\r\n \"Brazil South\",\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 \"2015-10-01\",\r\n \"2015-09-01\",\r\n \"2015-08-01\",\r\n \"2015-07-01-preview\",\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\",\r\n \"2014-12-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkDataFactoryNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkAzureDataFactoryNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01\",\r\n \"2015-09-01\",\r\n \"2015-08-01\",\r\n \"2015-07-01-preview\",\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactorySchema\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01\",\r\n \"2015-09-01\",\r\n \"2015-08-01\",\r\n \"2015-07-01-preview\",\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01\",\r\n \"2015-09-01\",\r\n \"2015-08-01\",\r\n \"2015-07-01-preview\",\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Devices\",\r\n \"namespace\": \"Microsoft.Devices\",\r\n \"authorization\": {\r\n \"applicationId\": \"EEB48693-78E0-42BC-8C34-5E2C5C335FF6\",\r\n \"roleDefinitionId\": \"6F87B449-F496-443E-8275-4605047714B3\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-15-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"IotHubs\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-15-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.DevTestLab\",\r\n \"namespace\": \"Microsoft.DevTestLab\",\r\n \"authorization\": {\r\n \"applicationId\": \"1a14be2a-e903-4cec-99cf-b2e209259a0f\",\r\n \"roleDefinitionId\": \"8f2de81a-b9aa-49d8-b24c-11814d3ab525\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-05-21-preview\",\r\n \"2015-05-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"databaseAccountNames\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.DomainRegistration\",\r\n \"namespace\": \"Microsoft.DomainRegistration\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domains\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"topLevelDomains\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkDomainAvailability\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"listDomainRecommendations\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateDomainRegistrationInformation\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"generateSsoRequest\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.DynamicsLcs\",\r\n \"namespace\": \"Microsoft.DynamicsLcs\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"lcsprojects\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-tie-preview\",\r\n \"2015-02-01-test-preview\",\r\n \"2015-02-01-preview\",\r\n \"2015-02-01-p2-preview\",\r\n \"2015-02-01-p1-preview\",\r\n \"2015-02-01-int-preview\",\r\n \"2015-02-01-intp2-preview\",\r\n \"2015-02-01-intp1-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"lcsprojects/clouddeployments\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-tie-preview\",\r\n \"2015-02-01-test-preview\",\r\n \"2015-02-01-preview\",\r\n \"2015-02-01-p2-preview\",\r\n \"2015-02-01-p1-preview\",\r\n \"2015-02-01-int-preview\",\r\n \"2015-02-01-intp2-preview\",\r\n \"2015-02-01-intp1-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.EventHub\",\r\n \"namespace\": \"Microsoft.EventHub\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-12-19-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-12-19-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-12-19-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Logic\",\r\n \"namespace\": \"Microsoft.Logic\",\r\n \"authorization\": {\r\n \"applicationId\": \"7cd684f4-8a78-49b0-91ec-6a35d38739ba\",\r\n \"roleDefinitionId\": \"cb3ef1fb-6e31-49e2-9d87-ed821053fe58\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workflows\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.MarketplaceOrdering\",\r\n \"namespace\": \"Microsoft.MarketplaceOrdering\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"agreements\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Network\",\r\n \"namespace\": \"Microsoft.Network\",\r\n \"authorization\": {\r\n \"applicationId\": \"2cf9eb86-36b5-49dc-86ae-9a63135dfa8c\",\r\n \"roleDefinitionId\": \"13ba9ab4-19f0-4804-adc4-14ece36cc7a1\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"publicIPAddresses\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"networkInterfaces\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"loadBalancers\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"networkSecurityGroups\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"routeTables\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualNetworkGateways\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"localNetworkGateways\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"connections\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"applicationGateways\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operationResults\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/CheckDnsNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/usages\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/A\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/AAAA\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/CNAME\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/PTR\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/MX\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/TXT\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/SRV\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"trafficmanagerprofiles\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-28-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkTrafficManagerNameAvailability\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.NotificationHubs\",\r\n \"namespace\": \"Microsoft.NotificationHubs\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"namespaces/notificationHubs\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNamespaceAvailability\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia Southeast\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/tagnames\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"links\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Brazil South\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-19\",\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-19\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-19\",\r\n \"2015-02-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.ServiceBus\",\r\n \"namespace\": \"Microsoft.ServiceBus\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNamespaceAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2014-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"East US 2 (Stage)\",\r\n \"West US\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"usages\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"East US 2 (Stage)\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"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 \"East US\",\r\n \"West US\",\r\n \"East US 2 (Stage)\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 Europe\",\r\n \"East US 2\",\r\n \"North Europe\",\r\n \"Japan East\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"East US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-09-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-03-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"North Europe\",\r\n \"Japan East\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"East US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-09-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-03-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-03-01-preview\"\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 \"Central India\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"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 \"Central India\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-07-01-Preview\",\r\n \"2015-03-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-07-01-Preview\",\r\n \"2015-03-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"authorization\": {\r\n \"allowedThirdPartyExtensions\": [\r\n {\r\n \"name\": \"NewRelic_AzurePortal_APM\"\r\n }\r\n ]\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Sendgrid.Email\",\r\n \"namespace\": \"Sendgrid.Email\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "77608" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14982" + ], + "x-ms-request-id": [ + "8107e793-5bf5-4e29-a189-cbab6e1e9bc4" + ], + "x-ms-correlation-request-id": [ + "8107e793-5bf5-4e29-a189-cbab6e1e9bc4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T065323Z:8107e793-5bf5-4e29-a189-cbab6e1e9bc4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 06:53:23 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policydefinitions/onesdk7578?api-version=2015-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lkZWZpbml0aW9ucy9vbmVzZGs3NTc4P2FwaS12ZXJzaW9uPTIwMTUtMTAtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"policyRule\": {\r\n \"if\": {\r\n \"source\": \"action\",\r\n \"equals\": \"Microsoft.Resources/Subscriptions/ResourceGroups/write\"\r\n },\r\n \"then\": {\r\n \"effect\": \"deny\"\r\n }\r\n }\r\n },\r\n \"name\": \"onesdk7578\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "263" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"policyType\": \"Custom\",\r\n \"policyRule\": {\r\n \"if\": {\r\n \"source\": \"action\",\r\n \"equals\": \"Microsoft.Resources/Subscriptions/ResourceGroups/write\"\r\n },\r\n \"then\": {\r\n \"effect\": \"deny\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyDefinitions/onesdk7578\",\r\n \"type\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"name\": \"onesdk7578\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "362" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:2e25d4ca-567e-40df-8405-42099a462cbd" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "e60d8180-9970-41ef-a162-2b3aa67b4529" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T065322Z:e60d8180-9970-41ef-a162-2b3aa67b4529" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 06:53:21 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249/providers/Microsoft.Authorization/policyassignments/testPA?api-version=2015-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Jlc291cmNlR3JvdXBzL29uZXNkazcyNDkvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3BvbGljeWFzc2lnbm1lbnRzL3Rlc3RQQT9hcGktdmVyc2lvbj0yMDE1LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"scope\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249\",\r\n \"policyDefinitionId\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyDefinitions/onesdk7578\"\r\n },\r\n \"name\": \"testPA\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "288" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"policyDefinitionId\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyDefinitions/onesdk7578\",\r\n \"scope\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249\"\r\n },\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249/providers/Microsoft.Authorization/policyAssignments/testPA\",\r\n \"type\": \"Microsoft.Authorization/policyAssignments\",\r\n \"name\": \"testPA\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "453" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:f8ba7ade-e2db-4658-a859-dcab0a765b9c" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "49423b2c-7afa-4a6e-a425-c8bbd7f2a28c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T065323Z:49423b2c-7afa-4a6e-a425-c8bbd7f2a28c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 06:53:23 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249/providers/Microsoft.Authorization/policyassignments/testPA?api-version=2015-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Jlc291cmNlR3JvdXBzL29uZXNkazcyNDkvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3BvbGljeWFzc2lnbm1lbnRzL3Rlc3RQQT9hcGktdmVyc2lvbj0yMDE1LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": {}, + "ResponseBody": "{\r\n \"properties\": {\r\n \"policyDefinitionId\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyDefinitions/onesdk7578\",\r\n \"scope\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249\"\r\n },\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249/providers/Microsoft.Authorization/policyAssignments/testPA\",\r\n \"type\": \"Microsoft.Authorization/policyAssignments\",\r\n \"name\": \"testPA\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "453" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:5f51e3ab-ca31-4063-8273-fb56a7bd072f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14987" + ], + "x-ms-correlation-request-id": [ + "c2776b7b-58a8-4457-9225-88a70eb3b82f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T065324Z:c2776b7b-58a8-4457-9225-88a70eb3b82f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 06:53:23 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249/providers/Microsoft.Authorization/policyAssignments/testPA?api-version=2015-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Jlc291cmNlR3JvdXBzL29uZXNkazcyNDkvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3BvbGljeUFzc2lnbm1lbnRzL3Rlc3RQQT9hcGktdmVyc2lvbj0yMDE1LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": {}, + "ResponseBody": "{\r\n \"properties\": {\r\n \"policyDefinitionId\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyDefinitions/onesdk7578\",\r\n \"scope\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249\"\r\n },\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249/providers/Microsoft.Authorization/policyAssignments/testPA\",\r\n \"type\": \"Microsoft.Authorization/policyAssignments\",\r\n \"name\": \"testPA\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "453" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:d2ab9167-2f9c-4018-9a91-8ad045c77da8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14981" + ], + "x-ms-correlation-request-id": [ + "21e1421b-ae5e-40e9-ab3d-7c1cf23d0c55" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T065324Z:21e1421b-ae5e-40e9-ab3d-7c1cf23d0c55" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 06:53:24 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249/providers/Microsoft.Authorization/policyAssignments/testPA?api-version=2015-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Jlc291cmNlR3JvdXBzL29uZXNkazcyNDkvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3BvbGljeUFzc2lnbm1lbnRzL3Rlc3RQQT9hcGktdmVyc2lvbj0yMDE1LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": {}, + "ResponseBody": "{\r\n \"properties\": {\r\n \"policyDefinitionId\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyDefinitions/onesdk7578\",\r\n \"scope\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249\"\r\n },\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249/providers/Microsoft.Authorization/policyAssignments/testPA\",\r\n \"type\": \"Microsoft.Authorization/policyAssignments\",\r\n \"name\": \"testPA\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "453" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:d3286599-4c29-4c1a-94f0-bf46fb1199a2" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14989" + ], + "x-ms-correlation-request-id": [ + "a851856f-bc5e-4a17-8db3-c07318f728b7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T065324Z:a851856f-bc5e-4a17-8db3-c07318f728b7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 06:53:24 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249/providers/Microsoft.Authorization/policyAssignments/testPA?api-version=2015-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Jlc291cmNlR3JvdXBzL29uZXNkazcyNDkvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3BvbGljeUFzc2lnbm1lbnRzL3Rlc3RQQT9hcGktdmVyc2lvbj0yMDE1LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"scope\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249\",\r\n \"displayName\": \"testDisplay\",\r\n \"policyDefinitionId\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyDefinitions/onesdk7578\"\r\n },\r\n \"name\": \"testPA\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "323" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"displayName\": \"testDisplay\",\r\n \"policyDefinitionId\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyDefinitions/onesdk7578\",\r\n \"scope\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249\"\r\n },\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249/providers/Microsoft.Authorization/policyAssignments/testPA\",\r\n \"type\": \"Microsoft.Authorization/policyAssignments\",\r\n \"name\": \"testPA\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "481" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:9bde3eaa-ef1a-41b0-8d70-b239961d60a1" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "2703ba56-80cd-4ed1-98b9-e201350b7e05" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T065325Z:2703ba56-80cd-4ed1-98b9-e201350b7e05" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 06:53:24 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249/providers/Microsoft.Authorization/policyassignments/test2?api-version=2015-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Jlc291cmNlR3JvdXBzL29uZXNkazcyNDkvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3BvbGljeWFzc2lnbm1lbnRzL3Rlc3QyP2FwaS12ZXJzaW9uPTIwMTUtMTAtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"scope\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249\",\r\n \"policyDefinitionId\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyDefinitions/onesdk7578\"\r\n },\r\n \"name\": \"test2\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "287" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"policyDefinitionId\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyDefinitions/onesdk7578\",\r\n \"scope\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249\"\r\n },\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249/providers/Microsoft.Authorization/policyAssignments/test2\",\r\n \"type\": \"Microsoft.Authorization/policyAssignments\",\r\n \"name\": \"test2\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "451" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:2a855c2e-3a35-4372-ab65-0f8313852bd0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "64194f41-8fec-489d-a670-cc4cd57419d3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T065325Z:64194f41-8fec-489d-a670-cc4cd57419d3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 06:53:25 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyassignments?api-version=2015-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lhc3NpZ25tZW50cz9hcGktdmVyc2lvbj0yMDE1LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": {}, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"policyDefinitionId\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyDefinitions/onesdk7578\",\r\n \"scope\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249\"\r\n },\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249/providers/Microsoft.Authorization/policyAssignments/test2\",\r\n \"type\": \"Microsoft.Authorization/policyAssignments\",\r\n \"name\": \"test2\"\r\n },\r\n {\r\n \"properties\": {\r\n \"displayName\": \"testDisplay\",\r\n \"policyDefinitionId\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyDefinitions/onesdk7578\",\r\n \"scope\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249\"\r\n },\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249/providers/Microsoft.Authorization/policyAssignments/testPA\",\r\n \"type\": \"Microsoft.Authorization/policyAssignments\",\r\n \"name\": \"testPA\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "945" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:8dc2f9d6-13c3-4868-aee5-04608b4af074" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14988" + ], + "x-ms-correlation-request-id": [ + "13540260-c0f3-432a-844a-0f4e9e05a64e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T065325Z:13540260-c0f3-432a-844a-0f4e9e05a64e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 06:53:25 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249/providers/Microsoft.Authorization/policyassignments/test2?api-version=2015-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Jlc291cmNlR3JvdXBzL29uZXNkazcyNDkvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3BvbGljeWFzc2lnbm1lbnRzL3Rlc3QyP2FwaS12ZXJzaW9uPTIwMTUtMTAtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": {}, + "ResponseBody": "{\r\n \"properties\": {\r\n \"policyDefinitionId\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyDefinitions/onesdk7578\",\r\n \"scope\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249\"\r\n },\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk7249/providers/Microsoft.Authorization/policyAssignments/test2\",\r\n \"type\": \"Microsoft.Authorization/policyAssignments\",\r\n \"name\": \"test2\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "451" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:a6606e55-761f-49d3-9f6a-6c7276fea0a5" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "fe26a695-cd2f-4414-9daa-2ae9515c3b7e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T065326Z:fe26a695-cd2f-4414-9daa-2ae9515c3b7e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 06:53:25 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-PolicyAssignmentCRUD": [ + "onesdk7249", + "onesdk7578" + ] + }, + "Variables": { + "SubscriptionId": "23a4074d-cca6-4cd3-878f-7f4c2116918d", + "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.PolicyTests/TestPolicyDefinitionCRUD.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.PolicyTests/TestPolicyDefinitionCRUD.json new file mode 100644 index 000000000000..2e2afc4051c2 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.PolicyTests/TestPolicyDefinitionCRUD.json @@ -0,0 +1,446 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers?api-version=2015-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Byb3ZpZGVycz9hcGktdmVyc2lvbj0yMDE1LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": {}, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"authorization\": {\r\n \"applicationId\": \"96231a05-34ce-4eb4-aa6a-70759cbb5e83\",\r\n \"roleDefinitionId\": \"4f731528-ba85-45c7-acfb-cd0a9b3cf31b\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-03-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01-alpha\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-03-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01-alpha\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-03-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01-alpha\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"RedisConfigDefinition\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-03-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.classiccompute\",\r\n \"namespace\": \"microsoft.classiccompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkDomainNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots/roles\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots/roles/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots/roles/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"resourceTypes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.classicnetwork\",\r\n \"namespace\": \"microsoft.classicnetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"gatewaySupportedDevices\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.classicstorage\",\r\n \"namespace\": \"microsoft.classicstorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"India South\",\r\n \"India Central\",\r\n \"India West\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-beta\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"India South\",\r\n \"India Central\",\r\n \"India West\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"disks\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"images\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Insights\",\r\n \"namespace\": \"Microsoft.Insights\",\r\n \"authorization\": {\r\n \"applicationId\": \"11c174dc-1945-4a9a-a36b-c79a0f246b9b\",\r\n \"roleDefinitionId\": \"dd9d4347-f397-45f2-b538-85f21c90037b\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-01\",\r\n \"2014-08-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-01\",\r\n \"2014-08-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"queries\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-01\",\r\n \"2014-08-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-11-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operationResults\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"automatedExportSettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-20\",\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-20\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-11-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"West US\",\r\n \"East US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"West US\",\r\n \"East US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"locations\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"locations/capabilities\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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 \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/serviceObjectives\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/administrators\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/administratorOperationResults\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/import\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/importExportOperationResults\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/operationResults\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/auditingPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/recommendedElasticPools\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/auditingPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/connectionPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/securityMetrics\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/dataMaskingPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/dataMaskingPolicies/rules\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/resourcepools\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/elasticpools\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/usages\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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 \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/elasticpools/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 \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/elasticpools/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 \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/topQueries\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/topQueries/queryText\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"authorization\": {\r\n \"applicationId\": \"499b84ac-1321-427f-aa17-267ca6975798\",\r\n \"roleDefinitionId\": \"6a18f445-86f0-4e2e-b8a9-6b9b5677e3d8\"\r\n },\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 \"Australia East\"\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 \"Australia East\"\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.web\",\r\n \"namespace\": \"microsoft.web\",\r\n \"authorization\": {\r\n \"applicationId\": \"abfa0a7c-a6b6-4736-8310-5855508787cd\",\r\n \"roleDefinitionId\": \"f47ed98b-b063-4a5b-9e10-4b9b44fa7735\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"ishostnameavailable\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"availableStacks\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"listSitesAssignedToHostName\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/hostNameBindings\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/hostNameBindings\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/recommendations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"recommendations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/premieraddons\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/instances\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/instances/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/instances/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/instances\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/instances/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/instances/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"deploymentLocations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"ishostingenvironmentnameavailable\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"classicMobileServices\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"clusters\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"configuration\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"agents\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reports\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"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 \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.AppService\",\r\n \"namespace\": \"Microsoft.AppService\",\r\n \"authorization\": {\r\n \"applicationId\": \"dee7ba80-6a55-4f3b-a86c-746a9231ae49\",\r\n \"roleDefinitionId\": \"6715d172-49c4-46f6-bb21-60512a8689dc\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"apiapps\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"Central US\",\r\n \"Brazil South\",\r\n \"East US 2\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"West India\",\r\n \"South India\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-beta\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"appIdentities\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"Central US\",\r\n \"Brazil South\",\r\n \"East US 2\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"West India\",\r\n \"South India\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-beta\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"gateways\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"Central US\",\r\n \"Brazil South\",\r\n \"East US 2\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"West India\",\r\n \"South India\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-beta\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"deploymenttemplates\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-beta\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization\",\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"roleAssignments\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"roleDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"classicAdministrators\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2015-05-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"permissions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locks\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2015-01-01\",\r\n \"2014-10-01-preview\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyAssignments\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providerOperations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01-preview\",\r\n \"2015-07-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Automation\",\r\n \"namespace\": \"Microsoft.Automation\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"automationAccounts\",\r\n \"locations\": [\r\n \"Japan East\",\r\n \"East US 2\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"automationAccounts/runbooks\",\r\n \"locations\": [\r\n \"Japan East\",\r\n \"East US 2\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"automationAccounts/configurations\",\r\n \"locations\": [\r\n \"Japan East\",\r\n \"East US 2\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.BingMaps\",\r\n \"namespace\": \"Microsoft.BingMaps\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"mapApis\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-07-02\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-02\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"listCommunicationPreference\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-02\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"updateCommunicationPreference\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-02\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"2014-04-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"availabilitySets\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\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 \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-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 \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/vmSizes\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/usages\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/publishers\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"North Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"West Europe\",\r\n \"Brazil South\",\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 \"2015-10-01\",\r\n \"2015-09-01\",\r\n \"2015-08-01\",\r\n \"2015-07-01-preview\",\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\",\r\n \"2014-12-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkDataFactoryNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkAzureDataFactoryNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01\",\r\n \"2015-09-01\",\r\n \"2015-08-01\",\r\n \"2015-07-01-preview\",\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactorySchema\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01\",\r\n \"2015-09-01\",\r\n \"2015-08-01\",\r\n \"2015-07-01-preview\",\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01\",\r\n \"2015-09-01\",\r\n \"2015-08-01\",\r\n \"2015-07-01-preview\",\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Devices\",\r\n \"namespace\": \"Microsoft.Devices\",\r\n \"authorization\": {\r\n \"applicationId\": \"EEB48693-78E0-42BC-8C34-5E2C5C335FF6\",\r\n \"roleDefinitionId\": \"6F87B449-F496-443E-8275-4605047714B3\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-15-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"IotHubs\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-15-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.DevTestLab\",\r\n \"namespace\": \"Microsoft.DevTestLab\",\r\n \"authorization\": {\r\n \"applicationId\": \"1a14be2a-e903-4cec-99cf-b2e209259a0f\",\r\n \"roleDefinitionId\": \"8f2de81a-b9aa-49d8-b24c-11814d3ab525\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-05-21-preview\",\r\n \"2015-05-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"databaseAccountNames\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.DomainRegistration\",\r\n \"namespace\": \"Microsoft.DomainRegistration\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domains\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"topLevelDomains\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkDomainAvailability\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"listDomainRecommendations\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateDomainRegistrationInformation\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"generateSsoRequest\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.DynamicsLcs\",\r\n \"namespace\": \"Microsoft.DynamicsLcs\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"lcsprojects\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-tie-preview\",\r\n \"2015-02-01-test-preview\",\r\n \"2015-02-01-preview\",\r\n \"2015-02-01-p2-preview\",\r\n \"2015-02-01-p1-preview\",\r\n \"2015-02-01-int-preview\",\r\n \"2015-02-01-intp2-preview\",\r\n \"2015-02-01-intp1-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"lcsprojects/clouddeployments\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-tie-preview\",\r\n \"2015-02-01-test-preview\",\r\n \"2015-02-01-preview\",\r\n \"2015-02-01-p2-preview\",\r\n \"2015-02-01-p1-preview\",\r\n \"2015-02-01-int-preview\",\r\n \"2015-02-01-intp2-preview\",\r\n \"2015-02-01-intp1-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.EventHub\",\r\n \"namespace\": \"Microsoft.EventHub\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-12-19-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-12-19-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-12-19-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Logic\",\r\n \"namespace\": \"Microsoft.Logic\",\r\n \"authorization\": {\r\n \"applicationId\": \"7cd684f4-8a78-49b0-91ec-6a35d38739ba\",\r\n \"roleDefinitionId\": \"cb3ef1fb-6e31-49e2-9d87-ed821053fe58\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workflows\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.MarketplaceOrdering\",\r\n \"namespace\": \"Microsoft.MarketplaceOrdering\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"agreements\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Network\",\r\n \"namespace\": \"Microsoft.Network\",\r\n \"authorization\": {\r\n \"applicationId\": \"2cf9eb86-36b5-49dc-86ae-9a63135dfa8c\",\r\n \"roleDefinitionId\": \"13ba9ab4-19f0-4804-adc4-14ece36cc7a1\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"publicIPAddresses\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"networkInterfaces\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"loadBalancers\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"networkSecurityGroups\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"routeTables\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualNetworkGateways\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"localNetworkGateways\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"connections\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"applicationGateways\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operationResults\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/CheckDnsNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/usages\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/A\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/AAAA\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/CNAME\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/PTR\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/MX\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/TXT\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/SRV\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"trafficmanagerprofiles\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-28-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkTrafficManagerNameAvailability\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.NotificationHubs\",\r\n \"namespace\": \"Microsoft.NotificationHubs\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"namespaces/notificationHubs\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNamespaceAvailability\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia Southeast\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/tagnames\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"links\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Brazil South\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-19\",\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-19\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-19\",\r\n \"2015-02-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.ServiceBus\",\r\n \"namespace\": \"Microsoft.ServiceBus\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNamespaceAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2014-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"East US 2 (Stage)\",\r\n \"West US\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"usages\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"East US 2 (Stage)\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"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 \"East US\",\r\n \"West US\",\r\n \"East US 2 (Stage)\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 Europe\",\r\n \"East US 2\",\r\n \"North Europe\",\r\n \"Japan East\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"East US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-09-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-03-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"North Europe\",\r\n \"Japan East\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"East US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-09-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-03-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-03-01-preview\"\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 \"Central India\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"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 \"Central India\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-07-01-Preview\",\r\n \"2015-03-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-07-01-Preview\",\r\n \"2015-03-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"authorization\": {\r\n \"allowedThirdPartyExtensions\": [\r\n {\r\n \"name\": \"NewRelic_AzurePortal_APM\"\r\n }\r\n ]\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Sendgrid.Email\",\r\n \"namespace\": \"Sendgrid.Email\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "77608" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14993" + ], + "x-ms-request-id": [ + "ab943300-b07d-4c1a-a9f8-4b4fad185921" + ], + "x-ms-correlation-request-id": [ + "ab943300-b07d-4c1a-a9f8-4b4fad185921" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T215038Z:ab943300-b07d-4c1a-a9f8-4b4fad185921" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 21:50:38 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policydefinitions/onesdk434?api-version=2015-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lkZWZpbml0aW9ucy9vbmVzZGs0MzQ/YXBpLXZlcnNpb249MjAxNS0xMC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"onesdk434\",\r\n \"properties\": {\r\n \"policyRule\": {\r\n \"if\": {\r\n \"source\": \"action\",\r\n \"equals\": \"Microsoft.Resources/Subscriptions/ResourceGroups/write\"\r\n },\r\n \"then\": {\r\n \"effect\": \"deny\"\r\n }\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "262" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"policyType\": \"Custom\",\r\n \"policyRule\": {\r\n \"if\": {\r\n \"source\": \"action\",\r\n \"equals\": \"Microsoft.Resources/Subscriptions/ResourceGroups/write\"\r\n },\r\n \"then\": {\r\n \"effect\": \"deny\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyDefinitions/onesdk434\",\r\n \"type\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"name\": \"onesdk434\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "360" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:c0da6101-3aa9-4b96-ae6f-9bed7d64ba49" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "84581ed4-dbeb-4335-bcf0-a226b7dea332" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T215039Z:84581ed4-dbeb-4335-bcf0-a226b7dea332" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 21:50:38 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policydefinitions/onesdk434?api-version=2015-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lkZWZpbml0aW9ucy9vbmVzZGs0MzQ/YXBpLXZlcnNpb249MjAxNS0xMC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"onesdk434\",\r\n \"properties\": {\r\n \"description\": \"testDescription\",\r\n \"displayName\": \"testDisplay\",\r\n \"policyRule\": {\r\n \"if\": {\r\n \"source\": \"action\",\r\n \"equals\": \"Microsoft.Resources/Subscriptions/ResourceGroups/write\"\r\n },\r\n \"then\": {\r\n \"effect\": \"deny\"\r\n }\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "336" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"displayName\": \"testDisplay\",\r\n \"policyType\": \"Custom\",\r\n \"description\": \"testDescription\",\r\n \"policyRule\": {\r\n \"if\": {\r\n \"source\": \"action\",\r\n \"equals\": \"Microsoft.Resources/Subscriptions/ResourceGroups/write\"\r\n },\r\n \"then\": {\r\n \"effect\": \"deny\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyDefinitions/onesdk434\",\r\n \"type\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"name\": \"onesdk434\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "420" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:31ce8248-f9df-483b-b58e-90f1ca824311" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "cf71327e-3b79-4fd0-9667-8fd23ab32925" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T215041Z:cf71327e-3b79-4fd0-9667-8fd23ab32925" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 21:50:41 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policydefinitions/onesdk434?api-version=2015-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lkZWZpbml0aW9ucy9vbmVzZGs0MzQ/YXBpLXZlcnNpb249MjAxNS0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": {}, + "ResponseBody": "{\r\n \"properties\": {\r\n \"policyType\": \"Custom\",\r\n \"policyRule\": {\r\n \"if\": {\r\n \"source\": \"action\",\r\n \"equals\": \"Microsoft.Resources/Subscriptions/ResourceGroups/write\"\r\n },\r\n \"then\": {\r\n \"effect\": \"deny\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyDefinitions/onesdk434\",\r\n \"type\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"name\": \"onesdk434\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "360" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:cd424475-4e90-40c4-9eed-f028bdb1affc" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "f4a6eb8d-e10d-4754-9a4e-beeec094dfd0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T215040Z:f4a6eb8d-e10d-4754-9a4e-beeec094dfd0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 21:50:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policydefinitions/onesdk434?api-version=2015-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lkZWZpbml0aW9ucy9vbmVzZGs0MzQ/YXBpLXZlcnNpb249MjAxNS0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": {}, + "ResponseBody": "{\r\n \"properties\": {\r\n \"policyType\": \"Custom\",\r\n \"policyRule\": {\r\n \"if\": {\r\n \"source\": \"action\",\r\n \"equals\": \"Microsoft.Resources/Subscriptions/ResourceGroups/write\"\r\n },\r\n \"then\": {\r\n \"effect\": \"deny\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyDefinitions/onesdk434\",\r\n \"type\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"name\": \"onesdk434\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "360" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:d02c294b-f42b-404a-a96d-3e566fe6562f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14991" + ], + "x-ms-correlation-request-id": [ + "3244fa17-54f0-4d81-88f3-16317358f66b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T215041Z:3244fa17-54f0-4d81-88f3-16317358f66b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 21:50:40 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policydefinitions/onesdk434?api-version=2015-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lkZWZpbml0aW9ucy9vbmVzZGs0MzQ/YXBpLXZlcnNpb249MjAxNS0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": {}, + "ResponseBody": "{\r\n \"properties\": {\r\n \"displayName\": \"testDisplay\",\r\n \"policyType\": \"Custom\",\r\n \"description\": \"testDescription\",\r\n \"policyRule\": {\r\n \"if\": {\r\n \"source\": \"action\",\r\n \"equals\": \"Microsoft.Resources/Subscriptions/ResourceGroups/write\"\r\n },\r\n \"then\": {\r\n \"effect\": \"deny\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyDefinitions/onesdk434\",\r\n \"type\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"name\": \"onesdk434\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "420" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:ebae2485-c784-4116-a6f1-d1a7b3bd0cbd" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "66f19c39-ddab-420a-a9f7-801167b8d53a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T215043Z:66f19c39-ddab-420a-a9f7-801167b8d53a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 21:50:42 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policydefinitions/test2?api-version=2015-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lkZWZpbml0aW9ucy90ZXN0Mj9hcGktdmVyc2lvbj0yMDE1LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"test2\",\r\n \"properties\": {\r\n \"policyRule\": {\r\n \"if\": {\r\n \"source\": \"action\",\r\n \"equals\": \"blah\"\r\n },\r\n \"then\": {\r\n \"effect\": \"deny\"\r\n }\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "208" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"policyType\": \"Custom\",\r\n \"policyRule\": {\r\n \"if\": {\r\n \"source\": \"action\",\r\n \"equals\": \"blah\"\r\n },\r\n \"then\": {\r\n \"effect\": \"deny\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyDefinitions/test2\",\r\n \"type\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"name\": \"test2\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "302" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:52a49a53-c43a-43d3-b03c-cb4b565176d7" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "47391a08-448c-478d-b634-b461544ef310" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T215043Z:47391a08-448c-478d-b634-b461544ef310" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 21:50:43 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policydefinitions?api-version=2015-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lkZWZpbml0aW9ucz9hcGktdmVyc2lvbj0yMDE1LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": {}, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"displayName\": \"testDisplay\",\r\n \"policyType\": \"Custom\",\r\n \"description\": \"testDescription\",\r\n \"policyRule\": {\r\n \"if\": {\r\n \"source\": \"action\",\r\n \"equals\": \"Microsoft.Resources/Subscriptions/ResourceGroups/write\"\r\n },\r\n \"then\": {\r\n \"effect\": \"deny\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyDefinitions/onesdk434\",\r\n \"type\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"name\": \"onesdk434\"\r\n },\r\n {\r\n \"properties\": {\r\n \"policyType\": \"Custom\",\r\n \"policyRule\": {\r\n \"if\": {\r\n \"source\": \"action\",\r\n \"equals\": \"blah\"\r\n },\r\n \"then\": {\r\n \"effect\": \"deny\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyDefinitions/test2\",\r\n \"type\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"name\": \"test2\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "735" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:bbb02408-f5af-4a20-8f8e-59f7b9d4316e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14992" + ], + "x-ms-correlation-request-id": [ + "b74296d2-f742-4542-aa09-f05acfb8d983" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T215043Z:b74296d2-f742-4542-aa09-f05acfb8d983" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 21:50:43 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policydefinitions/onesdk434?api-version=2015-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lkZWZpbml0aW9ucy9vbmVzZGs0MzQ/YXBpLXZlcnNpb249MjAxNS0xMC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": {}, + "ResponseBody": "{\r\n \"properties\": {\r\n \"displayName\": \"testDisplay\",\r\n \"policyType\": \"Custom\",\r\n \"description\": \"testDescription\",\r\n \"policyRule\": {\r\n \"if\": {\r\n \"source\": \"action\",\r\n \"equals\": \"Microsoft.Resources/Subscriptions/ResourceGroups/write\"\r\n },\r\n \"then\": {\r\n \"effect\": \"deny\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization/policyDefinitions/onesdk434\",\r\n \"type\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"name\": \"onesdk434\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "420" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:fcb054aa-2244-4e3d-9370-8f538fbb992c" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "aa12b304-b1c6-43cd-8d17-2b5e5400e0c2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T215044Z:aa12b304-b1c6-43cd-8d17-2b5e5400e0c2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 21:50:43 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-PolicyDefinitionCRUD": [ + "onesdk434" + ] + }, + "Variables": { + "SubscriptionId": "23a4074d-cca6-4cd3-878f-7f4c2116918d", + "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.ResourceLockTests/TestResourceLockCRUDTest.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceLockTests/TestResourceLockCRUDTest.json new file mode 100644 index 000000000000..6e9497dc19ed --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceLockTests/TestResourceLockCRUDTest.json @@ -0,0 +1,516 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Byb3ZpZGVycz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"authorization\": {\r\n \"applicationId\": \"96231a05-34ce-4eb4-aa6a-70759cbb5e83\",\r\n \"roleDefinitionId\": \"4f731528-ba85-45c7-acfb-cd0a9b3cf31b\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-03-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01-alpha\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-03-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01-alpha\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-03-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01-alpha\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"RedisConfigDefinition\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-03-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.classiccompute\",\r\n \"namespace\": \"microsoft.classiccompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkDomainNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots/roles\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots/roles/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots/roles/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"resourceTypes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.classicnetwork\",\r\n \"namespace\": \"microsoft.classicnetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"gatewaySupportedDevices\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.classicstorage\",\r\n \"namespace\": \"microsoft.classicstorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"India South\",\r\n \"India Central\",\r\n \"India West\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-beta\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"India South\",\r\n \"India Central\",\r\n \"India West\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"disks\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"images\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Insights\",\r\n \"namespace\": \"Microsoft.Insights\",\r\n \"authorization\": {\r\n \"applicationId\": \"11c174dc-1945-4a9a-a36b-c79a0f246b9b\",\r\n \"roleDefinitionId\": \"dd9d4347-f397-45f2-b538-85f21c90037b\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-01\",\r\n \"2014-08-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-01\",\r\n \"2014-08-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"queries\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-01\",\r\n \"2014-08-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-11-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operationResults\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"automatedExportSettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-20\",\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-20\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-11-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"West US\",\r\n \"East US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"West US\",\r\n \"East US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"locations\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"locations/capabilities\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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 \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/serviceObjectives\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/administrators\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/administratorOperationResults\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/import\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/importExportOperationResults\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/operationResults\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/auditingPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/recommendedElasticPools\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/auditingPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/connectionPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/securityMetrics\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/dataMaskingPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/dataMaskingPolicies/rules\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/resourcepools\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/elasticpools\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/usages\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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 \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/elasticpools/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 \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/elasticpools/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 \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/topQueries\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/topQueries/queryText\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"authorization\": {\r\n \"applicationId\": \"499b84ac-1321-427f-aa17-267ca6975798\",\r\n \"roleDefinitionId\": \"6a18f445-86f0-4e2e-b8a9-6b9b5677e3d8\"\r\n },\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 \"Australia East\"\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 \"Australia East\"\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.web\",\r\n \"namespace\": \"microsoft.web\",\r\n \"authorization\": {\r\n \"applicationId\": \"abfa0a7c-a6b6-4736-8310-5855508787cd\",\r\n \"roleDefinitionId\": \"f47ed98b-b063-4a5b-9e10-4b9b44fa7735\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"ishostnameavailable\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"availableStacks\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"listSitesAssignedToHostName\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/hostNameBindings\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/hostNameBindings\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/recommendations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"recommendations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/premieraddons\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/instances\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/instances/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/instances/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/instances\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/instances/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/instances/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"deploymentLocations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"ishostingenvironmentnameavailable\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"classicMobileServices\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"clusters\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"configuration\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"agents\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reports\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"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 \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.AppService\",\r\n \"namespace\": \"Microsoft.AppService\",\r\n \"authorization\": {\r\n \"applicationId\": \"dee7ba80-6a55-4f3b-a86c-746a9231ae49\",\r\n \"roleDefinitionId\": \"6715d172-49c4-46f6-bb21-60512a8689dc\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"apiapps\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"Central US\",\r\n \"Brazil South\",\r\n \"East US 2\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"West India\",\r\n \"South India\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-beta\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"appIdentities\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"Central US\",\r\n \"Brazil South\",\r\n \"East US 2\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"West India\",\r\n \"South India\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-beta\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"gateways\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"Central US\",\r\n \"Brazil South\",\r\n \"East US 2\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"West India\",\r\n \"South India\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-beta\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"deploymenttemplates\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-beta\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization\",\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"roleAssignments\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"roleDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"classicAdministrators\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2015-05-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"permissions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locks\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2015-01-01\",\r\n \"2014-10-01-preview\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyAssignments\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providerOperations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01-preview\",\r\n \"2015-07-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Automation\",\r\n \"namespace\": \"Microsoft.Automation\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"automationAccounts\",\r\n \"locations\": [\r\n \"Japan East\",\r\n \"East US 2\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"automationAccounts/runbooks\",\r\n \"locations\": [\r\n \"Japan East\",\r\n \"East US 2\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"automationAccounts/configurations\",\r\n \"locations\": [\r\n \"Japan East\",\r\n \"East US 2\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.BingMaps\",\r\n \"namespace\": \"Microsoft.BingMaps\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"mapApis\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-07-02\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-02\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"listCommunicationPreference\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-02\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"updateCommunicationPreference\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-02\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"2014-04-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"availabilitySets\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\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 \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-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 \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/vmSizes\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/usages\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/publishers\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"North Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"West Europe\",\r\n \"Brazil South\",\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 \"2015-10-01\",\r\n \"2015-09-01\",\r\n \"2015-08-01\",\r\n \"2015-07-01-preview\",\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\",\r\n \"2014-12-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkDataFactoryNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkAzureDataFactoryNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01\",\r\n \"2015-09-01\",\r\n \"2015-08-01\",\r\n \"2015-07-01-preview\",\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactorySchema\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01\",\r\n \"2015-09-01\",\r\n \"2015-08-01\",\r\n \"2015-07-01-preview\",\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01\",\r\n \"2015-09-01\",\r\n \"2015-08-01\",\r\n \"2015-07-01-preview\",\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Devices\",\r\n \"namespace\": \"Microsoft.Devices\",\r\n \"authorization\": {\r\n \"applicationId\": \"EEB48693-78E0-42BC-8C34-5E2C5C335FF6\",\r\n \"roleDefinitionId\": \"6F87B449-F496-443E-8275-4605047714B3\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-15-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"IotHubs\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-15-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.DevTestLab\",\r\n \"namespace\": \"Microsoft.DevTestLab\",\r\n \"authorization\": {\r\n \"applicationId\": \"1a14be2a-e903-4cec-99cf-b2e209259a0f\",\r\n \"roleDefinitionId\": \"8f2de81a-b9aa-49d8-b24c-11814d3ab525\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-05-21-preview\",\r\n \"2015-05-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"databaseAccountNames\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.DomainRegistration\",\r\n \"namespace\": \"Microsoft.DomainRegistration\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domains\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"topLevelDomains\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkDomainAvailability\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"listDomainRecommendations\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateDomainRegistrationInformation\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"generateSsoRequest\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.DynamicsLcs\",\r\n \"namespace\": \"Microsoft.DynamicsLcs\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"lcsprojects\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-tie-preview\",\r\n \"2015-02-01-test-preview\",\r\n \"2015-02-01-preview\",\r\n \"2015-02-01-p2-preview\",\r\n \"2015-02-01-p1-preview\",\r\n \"2015-02-01-int-preview\",\r\n \"2015-02-01-intp2-preview\",\r\n \"2015-02-01-intp1-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"lcsprojects/clouddeployments\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-tie-preview\",\r\n \"2015-02-01-test-preview\",\r\n \"2015-02-01-preview\",\r\n \"2015-02-01-p2-preview\",\r\n \"2015-02-01-p1-preview\",\r\n \"2015-02-01-int-preview\",\r\n \"2015-02-01-intp2-preview\",\r\n \"2015-02-01-intp1-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.EventHub\",\r\n \"namespace\": \"Microsoft.EventHub\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-12-19-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-12-19-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-12-19-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Logic\",\r\n \"namespace\": \"Microsoft.Logic\",\r\n \"authorization\": {\r\n \"applicationId\": \"7cd684f4-8a78-49b0-91ec-6a35d38739ba\",\r\n \"roleDefinitionId\": \"cb3ef1fb-6e31-49e2-9d87-ed821053fe58\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workflows\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.MarketplaceOrdering\",\r\n \"namespace\": \"Microsoft.MarketplaceOrdering\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"agreements\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Network\",\r\n \"namespace\": \"Microsoft.Network\",\r\n \"authorization\": {\r\n \"applicationId\": \"2cf9eb86-36b5-49dc-86ae-9a63135dfa8c\",\r\n \"roleDefinitionId\": \"13ba9ab4-19f0-4804-adc4-14ece36cc7a1\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"publicIPAddresses\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"networkInterfaces\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"loadBalancers\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"networkSecurityGroups\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"routeTables\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualNetworkGateways\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"localNetworkGateways\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"connections\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"applicationGateways\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operationResults\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/CheckDnsNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/usages\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/A\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/AAAA\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/CNAME\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/PTR\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/MX\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/TXT\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/SRV\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"trafficmanagerprofiles\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-28-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkTrafficManagerNameAvailability\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.NotificationHubs\",\r\n \"namespace\": \"Microsoft.NotificationHubs\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"namespaces/notificationHubs\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNamespaceAvailability\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia Southeast\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/tagnames\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"links\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Brazil South\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-19\",\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-19\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-19\",\r\n \"2015-02-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.ServiceBus\",\r\n \"namespace\": \"Microsoft.ServiceBus\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNamespaceAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2014-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"East US 2 (Stage)\",\r\n \"West US\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"usages\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"East US 2 (Stage)\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"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 \"East US\",\r\n \"West US\",\r\n \"East US 2 (Stage)\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 Europe\",\r\n \"East US 2\",\r\n \"North Europe\",\r\n \"Japan East\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"East US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-09-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-03-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"North Europe\",\r\n \"Japan East\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"East US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-09-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-03-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-03-01-preview\"\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 \"Central India\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"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 \"Central India\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-07-01-Preview\",\r\n \"2015-03-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-07-01-Preview\",\r\n \"2015-03-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"authorization\": {\r\n \"allowedThirdPartyExtensions\": [\r\n {\r\n \"name\": \"NewRelic_AzurePortal_APM\"\r\n }\r\n ]\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Sendgrid.Email\",\r\n \"namespace\": \"Sendgrid.Email\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "77608" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14985" + ], + "x-ms-request-id": [ + "d77aa1a3-8ead-486b-b8c1-eabd41001d77" + ], + "x-ms-correlation-request-id": [ + "d77aa1a3-8ead-486b-b8c1-eabd41001d77" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T004103Z:d77aa1a3-8ead-486b-b8c1-eabd41001d77" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 00:41:02 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourcegroups/onesdk5801?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Jlc291cmNlZ3JvdXBzL29uZXNkazU4MDE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14984" + ], + "x-ms-request-id": [ + "cea0dd71-75d3-414b-99ef-35b82763e143" + ], + "x-ms-correlation-request-id": [ + "cea0dd71-75d3-414b-99ef-35b82763e143" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T004112Z:cea0dd71-75d3-414b-99ef-35b82763e143" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 00:41:11 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourcegroups/onesdk5801?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Jlc291cmNlZ3JvdXBzL29uZXNkazU4MDE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "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.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk5801\",\r\n \"name\": \"onesdk5801\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "173" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-request-id": [ + "f0abed4d-dcdb-4b82-8e20-af4ad9f2504b" + ], + "x-ms-correlation-request-id": [ + "f0abed4d-dcdb-4b82-8e20-af4ad9f2504b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T004113Z:f0abed4d-dcdb-4b82-8e20-af4ad9f2504b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 00:41:13 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk5801/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Jlc291cmNlR3JvdXBzL29uZXNkazU4MDEvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "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": [ + "14983" + ], + "x-ms-request-id": [ + "9144bc74-bb68-4d99-b353-714fef58afcf" + ], + "x-ms-correlation-request-id": [ + "9144bc74-bb68-4d99-b353-714fef58afcf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T004134Z:9144bc74-bb68-4d99-b353-714fef58afcf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 00:41:34 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourcegroups/onesdk5801/providers/Microsoft.Authorization/permissions?api-version=2015-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Jlc291cmNlZ3JvdXBzL29uZXNkazU4MDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTUtMDctMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/1.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 \"nextLink\": null\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "61" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "3afe1efd-9c4a-4fcb-bdf5-04874371ae2c" + ], + "x-ms-gateway-service-instanceid": [ + "PASFE_IN_2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14982" + ], + "x-ms-correlation-request-id": [ + "c3c4480f-fa07-43db-ac31-7f524edff902" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T004134Z:c3c4480f-fa07-43db-ac31-7f524edff902" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 00:41:34 GMT" + ], + "Set-Cookie": [ + "x-ms-gateway-slice=productionb; path=/" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers?api-version=2015-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Byb3ZpZGVycz9hcGktdmVyc2lvbj0yMDE1LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": {}, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Cache\",\r\n \"namespace\": \"Microsoft.Cache\",\r\n \"authorization\": {\r\n \"applicationId\": \"96231a05-34ce-4eb4-aa6a-70759cbb5e83\",\r\n \"roleDefinitionId\": \"4f731528-ba85-45c7-acfb-cd0a9b3cf31b\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-03-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01-alpha\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-03-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01-alpha\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-03-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01-alpha\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"RedisConfigDefinition\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-03-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.classiccompute\",\r\n \"namespace\": \"microsoft.classiccompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkDomainNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots/roles\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots/roles/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots/roles/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"resourceTypes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.classicnetwork\",\r\n \"namespace\": \"microsoft.classicnetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"gatewaySupportedDevices\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.classicstorage\",\r\n \"namespace\": \"microsoft.classicstorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"India South\",\r\n \"India Central\",\r\n \"India West\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-beta\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"India South\",\r\n \"India Central\",\r\n \"India West\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"disks\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"images\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Insights\",\r\n \"namespace\": \"Microsoft.Insights\",\r\n \"authorization\": {\r\n \"applicationId\": \"11c174dc-1945-4a9a-a36b-c79a0f246b9b\",\r\n \"roleDefinitionId\": \"dd9d4347-f397-45f2-b538-85f21c90037b\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-01\",\r\n \"2014-08-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-01\",\r\n \"2014-08-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"queries\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-01\",\r\n \"2014-08-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-11-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operationResults\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"automatedExportSettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-20\",\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-20\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-11-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"West US\",\r\n \"East US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"West US\",\r\n \"East US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\"\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"locations\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"locations/capabilities\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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 \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/serviceObjectives\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/administrators\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/administratorOperationResults\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/import\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/importExportOperationResults\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/operationResults\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/auditingPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/recommendedElasticPools\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/auditingPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/connectionPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/securityMetrics\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/dataMaskingPolicies\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/dataMaskingPolicies/rules\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/resourcepools\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/elasticpools\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/usages\",\r\n \"locations\": [\r\n \"East US 2\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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 \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/elasticpools/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 \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/elasticpools/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 \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/topQueries\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\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\": \"servers/databases/topQueries/queryText\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"West India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"authorization\": {\r\n \"applicationId\": \"499b84ac-1321-427f-aa17-267ca6975798\",\r\n \"roleDefinitionId\": \"6a18f445-86f0-4e2e-b8a9-6b9b5677e3d8\"\r\n },\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 \"Australia East\"\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 \"Australia East\"\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.web\",\r\n \"namespace\": \"microsoft.web\",\r\n \"authorization\": {\r\n \"applicationId\": \"abfa0a7c-a6b6-4736-8310-5855508787cd\",\r\n \"roleDefinitionId\": \"f47ed98b-b063-4a5b-9e10-4b9b44fa7735\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"ishostnameavailable\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"availableStacks\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"listSitesAssignedToHostName\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/hostNameBindings\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/hostNameBindings\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/recommendations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"recommendations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/premieraddons\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"East Asia (Stage)\",\r\n \"Central US (Stage)\",\r\n \"West India\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/instances\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/instances/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/multiRolePools/instances/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/instances\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/instances/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments/workerPools/instances/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"deploymentLocations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"ishostingenvironmentnameavailable\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"classicMobileServices\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"clusters\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"configuration\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"agents\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reports\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"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 \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.AppService\",\r\n \"namespace\": \"Microsoft.AppService\",\r\n \"authorization\": {\r\n \"applicationId\": \"dee7ba80-6a55-4f3b-a86c-746a9231ae49\",\r\n \"roleDefinitionId\": \"6715d172-49c4-46f6-bb21-60512a8689dc\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"apiapps\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"Central US\",\r\n \"Brazil South\",\r\n \"East US 2\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"West India\",\r\n \"South India\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-beta\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"appIdentities\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"Central US\",\r\n \"Brazil South\",\r\n \"East US 2\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"West India\",\r\n \"South India\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-beta\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"gateways\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"Central US\",\r\n \"Brazil South\",\r\n \"East US 2\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"West India\",\r\n \"South India\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-beta\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"deploymenttemplates\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-beta\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Authorization\",\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"roleAssignments\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"roleDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"classicAdministrators\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2015-05-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"permissions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locks\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01\",\r\n \"2015-01-01\",\r\n \"2014-10-01-preview\",\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyAssignments\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providerOperations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-01-preview\",\r\n \"2015-07-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Automation\",\r\n \"namespace\": \"Microsoft.Automation\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"automationAccounts\",\r\n \"locations\": [\r\n \"Japan East\",\r\n \"East US 2\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"automationAccounts/runbooks\",\r\n \"locations\": [\r\n \"Japan East\",\r\n \"East US 2\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"automationAccounts/configurations\",\r\n \"locations\": [\r\n \"Japan East\",\r\n \"East US 2\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.BingMaps\",\r\n \"namespace\": \"Microsoft.BingMaps\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"mapApis\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-07-02\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-02\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"listCommunicationPreference\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-02\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"updateCommunicationPreference\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-07-02\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"2014-04-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"availabilitySets\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\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 \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-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 \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/vmSizes\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/usages\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/publishers\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 \"North Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"West Europe\",\r\n \"Brazil South\",\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 \"2015-10-01\",\r\n \"2015-09-01\",\r\n \"2015-08-01\",\r\n \"2015-07-01-preview\",\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\",\r\n \"2014-12-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkDataFactoryNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkAzureDataFactoryNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01\",\r\n \"2015-09-01\",\r\n \"2015-08-01\",\r\n \"2015-07-01-preview\",\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactorySchema\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01\",\r\n \"2015-09-01\",\r\n \"2015-08-01\",\r\n \"2015-07-01-preview\",\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-10-01\",\r\n \"2015-09-01\",\r\n \"2015-08-01\",\r\n \"2015-07-01-preview\",\r\n \"2015-05-01-preview\",\r\n \"2015-01-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Devices\",\r\n \"namespace\": \"Microsoft.Devices\",\r\n \"authorization\": {\r\n \"applicationId\": \"EEB48693-78E0-42BC-8C34-5E2C5C335FF6\",\r\n \"roleDefinitionId\": \"6F87B449-F496-443E-8275-4605047714B3\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-15-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"IotHubs\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-15-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.DevTestLab\",\r\n \"namespace\": \"Microsoft.DevTestLab\",\r\n \"authorization\": {\r\n \"applicationId\": \"1a14be2a-e903-4cec-99cf-b2e209259a0f\",\r\n \"roleDefinitionId\": \"8f2de81a-b9aa-49d8-b24c-11814d3ab525\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-05-21-preview\",\r\n \"2015-05-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"databaseAccountNames\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central India\",\r\n \"South India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.DomainRegistration\",\r\n \"namespace\": \"Microsoft.DomainRegistration\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domains\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"topLevelDomains\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkDomainAvailability\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"listDomainRecommendations\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateDomainRegistrationInformation\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"generateSsoRequest\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.DynamicsLcs\",\r\n \"namespace\": \"Microsoft.DynamicsLcs\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"lcsprojects\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-tie-preview\",\r\n \"2015-02-01-test-preview\",\r\n \"2015-02-01-preview\",\r\n \"2015-02-01-p2-preview\",\r\n \"2015-02-01-p1-preview\",\r\n \"2015-02-01-int-preview\",\r\n \"2015-02-01-intp2-preview\",\r\n \"2015-02-01-intp1-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"lcsprojects/clouddeployments\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-tie-preview\",\r\n \"2015-02-01-test-preview\",\r\n \"2015-02-01-preview\",\r\n \"2015-02-01-p2-preview\",\r\n \"2015-02-01-p1-preview\",\r\n \"2015-02-01-int-preview\",\r\n \"2015-02-01-intp2-preview\",\r\n \"2015-02-01-intp1-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.EventHub\",\r\n \"namespace\": \"Microsoft.EventHub\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-12-19-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-12-19-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\",\r\n \"2014-12-19-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Logic\",\r\n \"namespace\": \"Microsoft.Logic\",\r\n \"authorization\": {\r\n \"applicationId\": \"7cd684f4-8a78-49b0-91ec-6a35d38739ba\",\r\n \"roleDefinitionId\": \"cb3ef1fb-6e31-49e2-9d87-ed821053fe58\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workflows\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.MarketplaceOrdering\",\r\n \"namespace\": \"Microsoft.MarketplaceOrdering\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"agreements\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Network\",\r\n \"namespace\": \"Microsoft.Network\",\r\n \"authorization\": {\r\n \"applicationId\": \"2cf9eb86-36b5-49dc-86ae-9a63135dfa8c\",\r\n \"roleDefinitionId\": \"13ba9ab4-19f0-4804-adc4-14ece36cc7a1\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"publicIPAddresses\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"networkInterfaces\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"loadBalancers\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"networkSecurityGroups\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"routeTables\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualNetworkGateways\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"localNetworkGateways\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"connections\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"applicationGateways\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operationResults\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/CheckDnsNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/usages\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/A\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/AAAA\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/CNAME\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/PTR\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/MX\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/TXT\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones/SRV\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"trafficmanagerprofiles\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-28-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkTrafficManagerNameAvailability\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.NotificationHubs\",\r\n \"namespace\": \"Microsoft.NotificationHubs\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"namespaces/notificationHubs\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNamespaceAvailability\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia Southeast\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/tagnames\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"links\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Brazil South\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-08-19\",\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-19\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-19\",\r\n \"2015-02-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.ServiceBus\",\r\n \"namespace\": \"Microsoft.ServiceBus\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNamespaceAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-08-01\",\r\n \"2014-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"East US 2 (Stage)\",\r\n \"West US\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"usages\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"East US 2 (Stage)\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"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 \"East US\",\r\n \"West US\",\r\n \"East US 2 (Stage)\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\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/23a4074d-cca6-4cd3-878f-7f4c2116918d/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 Europe\",\r\n \"East US 2\",\r\n \"North Europe\",\r\n \"Japan East\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"East US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-09-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-03-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"North Europe\",\r\n \"Japan East\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"East US\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\",\r\n \"Central India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-09-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-03-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-01\",\r\n \"2015-06-01\",\r\n \"2015-05-01\",\r\n \"2015-04-01\",\r\n \"2015-03-01-preview\"\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 \"Central India\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"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 \"Central India\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-07-01-Preview\",\r\n \"2015-03-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-07-01-Preview\",\r\n \"2015-03-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"authorization\": {\r\n \"allowedThirdPartyExtensions\": [\r\n {\r\n \"name\": \"NewRelic_AzurePortal_APM\"\r\n }\r\n ]\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/providers/Sendgrid.Email\",\r\n \"namespace\": \"Sendgrid.Email\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "77608" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14982" + ], + "x-ms-request-id": [ + "784ed180-52bd-4065-a598-2b85cd176e5e" + ], + "x-ms-correlation-request-id": [ + "784ed180-52bd-4065-a598-2b85cd176e5e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T004135Z:784ed180-52bd-4065-a598-2b85cd176e5e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 00:41:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk5801/providers/Microsoft.Authorization/locks/onesdk8698?api-version=2015-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Jlc291cmNlR3JvdXBzL29uZXNkazU4MDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL2xvY2tzL29uZXNkazg2OTg/YXBpLXZlcnNpb249MjAxNS0wMS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"level\": \"CanNotDelete\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "57" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"level\": \"CanNotDelete\"\r\n },\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk5801/providers/Microsoft.Authorization/locks/onesdk8698\",\r\n \"type\": \"Microsoft.Authorization/locks\",\r\n \"name\": \"onesdk8698\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:2b428531-2a43-4d93-b0fa-7246aa11d80a" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "139a849a-8111-4fa0-adc7-81a50b5081bc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T004136Z:139a849a-8111-4fa0-adc7-81a50b5081bc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 00:41:36 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk5801/providers/Microsoft.Authorization/locks/onesdk8698?api-version=2015-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Jlc291cmNlR3JvdXBzL29uZXNkazU4MDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL2xvY2tzL29uZXNkazg2OTg/YXBpLXZlcnNpb249MjAxNS0wMS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"level\": \"CanNotDelete\",\r\n \"notes\": \"test\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "79" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"level\": \"CanNotDelete\",\r\n \"notes\": \"test\"\r\n },\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk5801/providers/Microsoft.Authorization/locks/onesdk8698\",\r\n \"type\": \"Microsoft.Authorization/locks\",\r\n \"name\": \"onesdk8698\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "249" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:dc306844-51d0-4e81-8a38-ef8b94c9cc16" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "35fec9f5-cf09-4ebe-b9ad-f9c852f07b46" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T004141Z:35fec9f5-cf09-4ebe-b9ad-f9c852f07b46" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 00:41:40 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk5801/providers/Microsoft.Authorization/locks/onesdk8698?api-version=2015-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Jlc291cmNlR3JvdXBzL29uZXNkazU4MDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL2xvY2tzL29uZXNkazg2OTg/YXBpLXZlcnNpb249MjAxNS0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": {}, + "ResponseBody": "{\r\n \"properties\": {\r\n \"level\": \"CanNotDelete\"\r\n },\r\n \"id\": \"/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk5801/providers/Microsoft.Authorization/locks/onesdk8698\",\r\n \"type\": \"Microsoft.Authorization/locks\",\r\n \"name\": \"onesdk8698\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:f8754ef4-3e99-4fae-b8a0-687a953614b2" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14993" + ], + "x-ms-correlation-request-id": [ + "dccc59ba-316c-4ae8-9354-85dd3faa14ff" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T004139Z:dccc59ba-316c-4ae8-9354-85dd3faa14ff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 00:41:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/23a4074d-cca6-4cd3-878f-7f4c2116918d/resourceGroups/onesdk5801/providers/Microsoft.Authorization/locks/onesdk8698?api-version=2015-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjNhNDA3NGQtY2NhNi00Y2QzLTg3OGYtN2Y0YzIxMTY5MThkL3Jlc291cmNlR3JvdXBzL29uZXNkazU4MDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL2xvY2tzL29uZXNkazg2OTg/YXBpLXZlcnNpb249MjAxNS0wMS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": {}, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:f7db36f6-0ec7-4263-8249-f3daac2bacb0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "c478b46f-4e2d-4fd7-a7df-888085e4724f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150930T004143Z:c478b46f-4e2d-4fd7-a7df-888085e4724f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 30 Sep 2015 00:41:42 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-ResourceLockCRUD": [ + "onesdk5801", + "onesdk8698" + ] + }, + "Variables": { + "SubscriptionId": "23a4074d-cca6-4cd3-878f-7f4c2116918d", + "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "Domain": "microsoft.com" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 b/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 index 3b1c088c3ad2..518bef77e7fa 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.9.9' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '81d522a4-6e5d-4105-8f58-376204c47458' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Azure Resource Manager' diff --git a/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj b/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj index cd424ada4626..fb68150db25b 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj +++ b/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj @@ -209,7 +209,7 @@ - + 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 index 4296268cad3a..d04c0be16ceb 100644 --- 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 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '81d522a4-6e5d-4105-8f58-376204c47458' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' 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 d8b14c114b4c..18c29e751a9d 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 @@ -2067,7 +2067,7 @@ ContosoLabsRG WordPress.WordPress Succ This is the Description section - The Get-AzureRmResourceGroupGalleryTemplate 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-AzureRmResourceGroupGalleryTemplate 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-AzureRmResourceGroupGalleryTemplate 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-AzureRmResourceGroup or New-AzureRmResourceGroupDeployment cmdlets.By default the cmdlet gets only the latest version of the template. To get all versions, use the -AllVersions parameter flag. + The Get-AzureRmResourceGroupGalleryTemplate 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-AzureRmResourceGroupGalleryTemplate 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-AzureRmResourceGroupGalleryTemplate 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-AzureResourceGroupDeployment 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-AzureRmResourceGroup or New-AzureRmResourceGroupDeployment cmdlets.By default the cmdlet gets only the latest version of the template. To get all versions, use the -AllVersions parameter flag. @@ -8311,7 +8311,7 @@ c. ResourceName, ResourceType, ResourceGroupName and (optionally) ParentResource This is the Description section - The Save-AzureRmResourceGroupGalleryTemplate 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-AzureRmResourceGroupGalleryTemplate cmdlet to get a gallery template and then use the Save-AzureRmResourceGroupGalleryTemplate 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-AzureRmResourceGroup or New-AzureRmResourceGroupDeployment cmdlets. Just identify the template and provide values for its parameters. + The Save-AzureRmResourceGroupGalleryTemplate 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-AzureRmResourceGroupGalleryTemplate cmdlet to get a gallery template and then use the Save-AzureRmResourceGroupGalleryTemplate 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-AzureResourceGroupDeployment cmdlet.To use a template to create a resource group, use the New-AzureRmResourceGroup or New-AzureRmResourceGroupDeployment cmdlets. Just identify the template and provide values for its parameters. @@ -9143,7 +9143,7 @@ True - Test-AzureResourceGroupTemplate + Test-AzureResourceGroupDeployment Detects errors in a resource group template or template parameters @@ -9156,11 +9156,11 @@ True This is the Description section - 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-AzureRmResourceGroupGalleryTemplate) and you can create your own templates. + The Test-AzureResourceGroupDeployment 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-AzureRmResourceGroupGalleryTemplate) and you can create your own templates. - Test-AzureResourceGroupTemplate + Test-AzureResourceGroupDeployment ResourceGroupName @@ -9175,20 +9175,6 @@ True 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-AzureRmStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription 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 - Profile @@ -9198,7 +9184,7 @@ True - Test-AzureResourceGroupTemplate + Test-AzureResourceGroupDeployment ResourceGroupName @@ -9220,13 +9206,6 @@ True 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 - Profile @@ -9236,7 +9215,7 @@ True - Test-AzureResourceGroupTemplate + Test-AzureResourceGroupDeployment ResourceGroupName @@ -9258,20 +9237,6 @@ True 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-AzureRmStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription 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 - Profile @@ -9281,7 +9246,7 @@ True - Test-AzureResourceGroupTemplate + Test-AzureResourceGroupDeployment ResourceGroupName @@ -9296,20 +9261,6 @@ True 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-AzureRmResourceGroupGalleryTemplate 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 - Profile @@ -9319,7 +9270,7 @@ True - Test-AzureResourceGroupTemplate + Test-AzureResourceGroupDeployment ResourceGroupName @@ -9334,20 +9285,6 @@ True 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-AzureRmResourceGroupGalleryTemplate 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 - Profile @@ -9357,7 +9294,7 @@ True - Test-AzureResourceGroupTemplate + Test-AzureResourceGroupDeployment ResourceGroupName @@ -9379,13 +9316,6 @@ True 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 - Profile @@ -9395,7 +9325,7 @@ True - Test-AzureResourceGroupTemplate + Test-AzureResourceGroupDeployment ResourceGroupName @@ -9417,20 +9347,6 @@ True 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-AzureRmStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription 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 - Profile @@ -9440,7 +9356,7 @@ True - Test-AzureResourceGroupTemplate + Test-AzureResourceGroupDeployment ResourceGroupName @@ -9448,20 +9364,6 @@ True 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-AzureRmResourceGroupGalleryTemplate 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 - Profile @@ -9471,7 +9373,7 @@ True - Test-AzureResourceGroupTemplate + Test-AzureResourceGroupDeployment ResourceGroupName @@ -9486,13 +9388,6 @@ True 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 - Profile @@ -9527,30 +9422,6 @@ True - - 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-AzureRmStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription 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 - - - - Profile @@ -9587,18 +9458,6 @@ True - - 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-AzureRmResourceGroupGalleryTemplate cmdlet. To test a gallery template that is saved as a JSON file on disk, use the TemplateFile parameter. - - String - - String - - - - TemplateParameterFile @@ -9652,7 +9511,7 @@ True PS C:\> - PS C:\>Test-AzureResourceGroupTemplate -ResourceGroupName ContosoLabsRG -TemplateFile $home\Documents\Azure\Templates\CustomHostingPlan.json -TemplateParameterFile $home\Documents\Azure\Templates\HostingPlanParms.jsonPS C:> + PS C:\>Test-AzureResourceGroupDeployment -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. @@ -9667,36 +9526,14 @@ True - - -------------------------- Example 2: Test a parameter object for a gallery template -------------------------- - - PS C:\> - - 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:\> - 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.'. + PS C:\>Test-AzureResourceGroupDeployment -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. + This command uses the Test-AzureResourceGroupDeployment 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. diff --git a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs index 480df4751055..66f61574c9c5 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs +++ b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs @@ -259,6 +259,13 @@ private void WriteDeploymentProgress(string resourceGroup, string deploymentName errorMessage); WriteError(statusMessage); + + List detailedMessage = ParseDetailErrorMessage(operation.Properties.StatusMessage); + + if (detailedMessage != null) + { + detailedMessage.ForEach(s => WriteError(s)); + } } } } @@ -276,6 +283,24 @@ public static string ParseErrorMessage(string statusMessage) } } + public static List ParseDetailErrorMessage(string statusMessage) + { + if(!string.IsNullOrEmpty(statusMessage)) + { + List detailedMessage = new List(); + dynamic errorMessage = JsonConvert.DeserializeObject(statusMessage); + if(errorMessage.error != null && errorMessage.error.details !=null) + { + foreach(var detail in errorMessage.error.details) + { + detailedMessage.Add(detail.message.ToString()); + } + } + return detailedMessage; + } + return null; + } + private DeploymentExtended WaitDeploymentStatus( string resourceGroup, string deploymentName, diff --git a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceWithParameterBaseCmdlet.cs b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceWithParameterBaseCmdlet.cs index 33ceac142058..7b50be7045c2 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceWithParameterBaseCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceWithParameterBaseCmdlet.cs @@ -30,9 +30,6 @@ namespace Microsoft.Azure.Commands.Resources public abstract class ResourceWithParameterBaseCmdlet : ResourcesBaseCmdlet { protected const string BaseParameterSetName = "Default"; - protected const string GalleryTemplateParameterObjectParameterSetName = "Deployment via Gallery and template parameters object"; - protected const string GalleryTemplateParameterFileParameterSetName = "Deployment via Gallery and template parameters file"; - protected const string GalleryTemplateParameterUriParameterSetName = "Deployment via Gallery and template parameters uri"; protected const string TemplateFileParameterObjectParameterSetName = "Deployment via template file and template parameters object"; protected const string TemplateFileParameterFileParameterSetName = "Deployment via template file and template parameters file"; protected const string TemplateFileParameterUriParameterSetName = "Deployment via template file template parameters uri"; @@ -45,8 +42,6 @@ public abstract class ResourceWithParameterBaseCmdlet : ResourcesBaseCmdlet protected RuntimeDefinedParameterDictionary dynamicParameters; - private string galleryTemplateName; - private string templateFile; private string templateUri; @@ -54,19 +49,14 @@ public abstract class ResourceWithParameterBaseCmdlet : ResourcesBaseCmdlet protected ResourceWithParameterBaseCmdlet() { dynamicParameters = new RuntimeDefinedParameterDictionary(); - galleryTemplateName = null; } - [Parameter(ParameterSetName = GalleryTemplateParameterObjectParameterSetName, - Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "A hash table which represents the parameters.")] [Parameter(ParameterSetName = TemplateFileParameterObjectParameterSetName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "A hash table which represents the parameters.")] [Parameter(ParameterSetName = TemplateUriParameterObjectParameterSetName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "A hash table which represents the parameters.")] public Hashtable TemplateParameterObject { get; set; } - [Parameter(ParameterSetName = GalleryTemplateParameterFileParameterSetName, - Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "A file that has the template parameters.")] [Parameter(ParameterSetName = TemplateFileParameterFileParameterSetName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "A file that has the template parameters.")] [Parameter(ParameterSetName = TemplateUriParameterFileParameterSetName, @@ -74,8 +64,6 @@ protected ResourceWithParameterBaseCmdlet() [ValidateNotNullOrEmpty] public string TemplateParameterFile { get; set; } - [Parameter(ParameterSetName = GalleryTemplateParameterUriParameterSetName, - Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Uri to the template parameter file.")] [Parameter(ParameterSetName = TemplateFileParameterUriParameterSetName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Uri to the template parameter file.")] [Parameter(ParameterSetName = TemplateUriParameterUriParameterSetName, @@ -83,17 +71,6 @@ protected ResourceWithParameterBaseCmdlet() [ValidateNotNullOrEmpty] public string TemplateParameterUri { get; set; } - [Parameter(ParameterSetName = GalleryTemplateParameterObjectParameterSetName, - Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Name of the template in the gallery.")] - [Parameter(ParameterSetName = GalleryTemplateParameterFileParameterSetName, - Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Name of the template in the gallery.")] - [Parameter(ParameterSetName = GalleryTemplateParameterUriParameterSetName, - Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Name of the template in the gallery.")] - [Parameter(ParameterSetName = ParameterlessGalleryTemplateParameterSetName, - Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Name of the template in the gallery.")] - [ValidateNotNullOrEmpty] - public string GalleryTemplateIdentity { get; set; } - [Parameter(ParameterSetName = TemplateFileParameterObjectParameterSetName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Local path to the template file.")] [Parameter(ParameterSetName = TemplateFileParameterFileParameterSetName, @@ -116,69 +93,9 @@ protected ResourceWithParameterBaseCmdlet() [ValidateNotNullOrEmpty] public string TemplateUri { get; set; } - [Parameter(ParameterSetName = TemplateFileParameterObjectParameterSetName, - Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The storage account which the cmdlet should use to upload the template file to. If not specified, the current storage account of the subscription will be used.")] - [Parameter(ParameterSetName = TemplateFileParameterFileParameterSetName, - Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The storage account which the cmdlet should use to upload the template file to. If not specified, the current storage account of the subscription will be used.")] - [Parameter(ParameterSetName = TemplateFileParameterUriParameterSetName, - Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The storage account which the cmdlet should use to upload the template file to. If not specified, the current storage account of the subscription will be used.")] - [Parameter(ParameterSetName = ParameterlessTemplateFileParameterSetName, - Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The storage account which the cmdlet should use to upload the template file to. If not specified, the current storage account of the subscription will be used.")] - [ValidateNotNullOrEmpty] - public string StorageAccountName { get; set; } - - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The expect content version of the template.")] - [ValidateNotNullOrEmpty] - public string TemplateVersion { get; set; } - public object GetDynamicParameters() { - if (!string.IsNullOrEmpty(GalleryTemplateIdentity)) - { - List galleryItems = new List(); - try - { - galleryItems = GalleryTemplatesClient.FilterGalleryTemplates(new FilterGalleryTemplatesOptions() { Identity = GalleryTemplateIdentity }); - } - catch (CloudException) - { - // we could not find a template with that identity - } - - if (galleryItems.Count == 0) - { - galleryItems = GalleryTemplatesClient.FilterGalleryTemplates(new FilterGalleryTemplatesOptions() { ApplicationName = GalleryTemplateIdentity, AllVersions = false }); - if (galleryItems == null || galleryItems.Count == 0) - { - throw new ArgumentException(string.Format(Properties.Resources.InvalidTemplateIdentity, GalleryTemplateIdentity)); - } - - GalleryTemplateIdentity = galleryItems[0].Identity; - } - } - - if (!string.IsNullOrEmpty(GalleryTemplateIdentity) && - !GalleryTemplateIdentity.Equals(galleryTemplateName, StringComparison.OrdinalIgnoreCase)) - { - galleryTemplateName = GalleryTemplateIdentity; - if(string.IsNullOrEmpty(TemplateParameterUri)) - { - dynamicParameters = GalleryTemplatesClient.GetTemplateParametersFromGallery( - GalleryTemplateIdentity, - TemplateParameterObject, - this.TryResolvePath(TemplateParameterFile), - MyInvocation.MyCommand.Parameters.Keys.ToArray()); - } - else - { - dynamicParameters = GalleryTemplatesClient.GetTemplateParametersFromGallery( - GalleryTemplateIdentity, - TemplateParameterObject, - TemplateParameterUri, - MyInvocation.MyCommand.Parameters.Keys.ToArray()); - } - } - else if (!string.IsNullOrEmpty(TemplateFile) && + if (!string.IsNullOrEmpty(TemplateFile) && !TemplateFile.Equals(templateFile, StringComparison.OrdinalIgnoreCase)) { templateFile = TemplateFile; diff --git a/src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/NewAzureResourceGroupDeploymentCommand.cs b/src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/NewAzureResourceGroupDeploymentCommand.cs index 6681e3fd22a6..dee826d4a631 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/NewAzureResourceGroupDeploymentCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/NewAzureResourceGroupDeploymentCommand.cs @@ -53,19 +53,11 @@ protected override void ProcessRecord() ResourceGroupName = ResourceGroupName, DeploymentName = Name, DeploymentMode = Mode, - GalleryTemplateIdentity = GalleryTemplateIdentity, TemplateFile = TemplateUri ?? this.TryResolvePath(TemplateFile), TemplateParameterObject = GetTemplateParameterObject(TemplateParameterObject), - ParameterUri = TemplateParameterUri, - TemplateVersion = TemplateVersion, - StorageAccountName = StorageAccountName + ParameterUri = TemplateParameterUri }; - if (!string.IsNullOrEmpty(TemplateVersion) || !string.IsNullOrEmpty(StorageAccountName) || !string.IsNullOrEmpty(GalleryTemplateIdentity)) - { - WriteWarning("The GalleryTemplateIdentity, TemplateVersion and StorageAccountName parameters in New-AzureRmResourceGroupDeployment cmdlet is being deprecated and will be removed in a future release."); - } - if(this.Mode == DeploymentMode.Complete) { this.ConfirmAction( diff --git a/src/ResourceManager/Resources/Commands.Resources/Templates/TestAzureResourceGroupTemplateCommand.cs b/src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/TestAzureResourceGroupDeploymentCommand.cs similarity index 67% rename from src/ResourceManager/Resources/Commands.Resources/Templates/TestAzureResourceGroupTemplateCommand.cs rename to src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/TestAzureResourceGroupDeploymentCommand.cs index 5eca9db4a855..f0ff21d1a74a 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Templates/TestAzureResourceGroupTemplateCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/TestAzureResourceGroupDeploymentCommand.cs @@ -23,8 +23,8 @@ namespace Microsoft.Azure.Commands.Resources.ResourceGroupDeployments /// /// Validate a template to see whether it's using the right syntax, resource providers, resource types, etc. /// - [Cmdlet(VerbsDiagnostic.Test, "AzureRmResourceGroupTemplate", DefaultParameterSetName = ParameterlessTemplateFileParameterSetName), OutputType(typeof(List))] - public class TestAzureResourceGroupTemplateCommand : ResourceWithParameterBaseCmdlet, IDynamicParameters + [Cmdlet(VerbsDiagnostic.Test, "AzureRmResourceGroupDeployment", DefaultParameterSetName = ParameterlessTemplateFileParameterSetName), OutputType(typeof(List))] + public class TestAzureResourceGroupDeploymentCommand : ResourceWithParameterBaseCmdlet, IDynamicParameters { [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource group name.")] [ValidateNotNullOrEmpty] @@ -33,27 +33,19 @@ public class TestAzureResourceGroupTemplateCommand : ResourceWithParameterBaseCm [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The deployment mode.")] public DeploymentMode Mode { get; set; } - public TestAzureResourceGroupTemplateCommand() + public TestAzureResourceGroupDeploymentCommand() { this.Mode = DeploymentMode.Incremental; } protected override void ProcessRecord() { - this.WriteWarning("The Test-AzureResourceGroupTemplate cmdlet is being renamed to Test-AzureResourceGroupDeployment in a future release."); - if (!string.IsNullOrEmpty(TemplateVersion) || !string.IsNullOrEmpty(StorageAccountName) || !string.IsNullOrEmpty(GalleryTemplateIdentity)) - { - WriteWarning("The GalleryTemplateIdentity, TemplateVersion and StorageAccountName parameters are being deprecated and will be removed in a future release."); - } ValidatePSResourceGroupDeploymentParameters parameters = new ValidatePSResourceGroupDeploymentParameters() { ResourceGroupName = ResourceGroupName, - GalleryTemplateIdentity = GalleryTemplateIdentity, TemplateFile = TemplateUri ?? this.TryResolvePath(TemplateFile), TemplateParameterObject = GetTemplateParameterObject(TemplateParameterObject), - ParameterUri = TemplateParameterUri, - TemplateVersion = TemplateVersion, - StorageAccountName = StorageAccountName + ParameterUri = TemplateParameterUri }; WriteObject(ResourcesClient.ValidatePSResourceGroupDeployment(parameters, Mode)); diff --git a/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/NewAzureResourceGroupCommand.cs b/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/NewAzureResourceGroupCommand.cs index b12cd457f6a3..9308d87017ad 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/NewAzureResourceGroupCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/NewAzureResourceGroupCommand.cs @@ -53,17 +53,14 @@ protected override void ProcessRecord() ResourceGroupName = Name, Location = Location, DeploymentName = DeploymentName, - GalleryTemplateIdentity = GalleryTemplateIdentity, TemplateFile = TemplateUri ?? this.TryResolvePath(TemplateFile), TemplateParameterObject = GetTemplateParameterObject(TemplateParameterObject), - TemplateVersion = TemplateVersion, - StorageAccountName = StorageAccountName, Force = Force.IsPresent, Tag = Tag, ConfirmAction = ConfirmAction }; - if(!string.IsNullOrEmpty(DeploymentName) || !string.IsNullOrEmpty(GalleryTemplateIdentity) || !string.IsNullOrEmpty(TemplateFile) - || !string.IsNullOrEmpty(TemplateVersion) || TemplateParameterObject != null || !string.IsNullOrEmpty(StorageAccountName)) + if(!string.IsNullOrEmpty(DeploymentName) || !string.IsNullOrEmpty(TemplateFile) + || TemplateParameterObject != null) { WriteWarning("The deployment parameters in New-AzureRmResourceGroup cmdlet is being deprecated and will be removed in a future release. Please use New-AzureRmResourceGroupDeployment to submit deployments."); } diff --git a/src/ResourceManager/SiteRecovery/AzureRM.SiteRecovery.psd1 b/src/ResourceManager/SiteRecovery/AzureRM.SiteRecovery.psd1 index 6fc92ea2d645..2cbda9d1cff4 100644 --- a/src/ResourceManager/SiteRecovery/AzureRM.SiteRecovery.psd1 +++ b/src/ResourceManager/SiteRecovery/AzureRM.SiteRecovery.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'd1de7560-48e1-48f3-bc8c-4eea3af2bbe1' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - SiteRecovery' @@ -45,7 +45,7 @@ CLRVersion='4.0' ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }) +RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() diff --git a/src/ResourceManager/Sql/AzureRM.Sql.psd1 b/src/ResourceManager/Sql/AzureRM.Sql.psd1 index 140ab2077859..fb207dc703a9 100644 --- a/src/ResourceManager/Sql/AzureRM.Sql.psd1 +++ b/src/ResourceManager/Sql/AzureRM.Sql.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '150d9544-6348-4373-806f-10cd0b4de4cb' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - Sql' @@ -45,7 +45,7 @@ CLRVersion='4.0' ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }) +RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SqlTestsBase.cs b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SqlTestsBase.cs index 092b9453f827..3011c4324af7 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SqlTestsBase.cs +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SqlTestsBase.cs @@ -57,7 +57,7 @@ protected void RunPowerShellTest(params string[] scripts) { //HttpMockServer.Matcher = new PermissiveRecordMatcher(); Dictionary d = new Dictionary(); - d.Add("Microsoft.Authorization", "2014-07-01-preview"); + d.Add("Microsoft.Authorization", null); HttpMockServer.Matcher = new PermissiveRecordMatcherWithApiExclusion(false, d); // Enable undo functionality as well as mock recording using (UndoContext context = UndoContext.Current) diff --git a/src/ResourceManager/Sql/Commands.Sql/Index Recommendations/Cmdlet/GetAzureSqlDatabaseIndexRecommendations.cs b/src/ResourceManager/Sql/Commands.Sql/Index Recommendations/Cmdlet/GetAzureSqlDatabaseIndexRecommendations.cs index 8eaa0fffc706..213110ca346a 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Index Recommendations/Cmdlet/GetAzureSqlDatabaseIndexRecommendations.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Index Recommendations/Cmdlet/GetAzureSqlDatabaseIndexRecommendations.cs @@ -90,7 +90,7 @@ protected override IEnumerable GetEntity() } // If table property is set keep only indexes on corresponding table - if (MyInvocation.BoundParameters.ContainsKey("Table")) + if (MyInvocation.BoundParameters.ContainsKey("TableName")) { results = results.Where(i => i.Table == TableName).ToList(); } 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 index b66a85f2842e..f8b93185e710 100644 --- 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 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '81d522a4-6e5d-4105-8f58-376204c47458' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ResourceManager/Storage/AzureRM.Storage.psd1 b/src/ResourceManager/Storage/AzureRM.Storage.psd1 index 87be3fc8d155..2be2bac364fd 100644 --- a/src/ResourceManager/Storage/AzureRM.Storage.psd1 +++ b/src/ResourceManager/Storage/AzureRM.Storage.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'da67eaa7-4cb1-4bfa-a194-8bf3faae8ac5' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - Storage' @@ -46,8 +46,8 @@ ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module RequiredModules = @( - @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }, - @{ ModuleName = 'Azure.Storage'; ModuleVersion = '0.9.8' } + @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }, + @{ ModuleName = 'Azure.Storage'; ModuleVersion = '0.9.10' } ) # Assemblies that must be loaded prior to importing this module diff --git a/src/ResourceManager/Storage/Commands.Management.Storage/Microsoft.Azure.Commands.Management.Storage.dll-Help.psd1 b/src/ResourceManager/Storage/Commands.Management.Storage/Microsoft.Azure.Commands.Management.Storage.dll-Help.psd1 index ff01dda09b5d..44c2fcf7c808 100644 --- a/src/ResourceManager/Storage/Commands.Management.Storage/Microsoft.Azure.Commands.Management.Storage.dll-Help.psd1 +++ b/src/ResourceManager/Storage/Commands.Management.Storage/Microsoft.Azure.Commands.Management.Storage.dll-Help.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.9' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'F237EAAA-BD3A-4965-AD4A-BF38598BFEF7' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ResourceManager/StreamAnalytics/AzureRM.StreamAnalytics.psd1 b/src/ResourceManager/StreamAnalytics/AzureRM.StreamAnalytics.psd1 index 6376e26fc05b..bc3ad7380887 100644 --- a/src/ResourceManager/StreamAnalytics/AzureRM.StreamAnalytics.psd1 +++ b/src/ResourceManager/StreamAnalytics/AzureRM.StreamAnalytics.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '59713673-194f-418a-b1f2-ac60db82edf9' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - StreamAnalytics' @@ -45,7 +45,7 @@ CLRVersion='4.0' ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }) +RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.psd1 b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.psd1 index eb0e206e0161..a4950b85b098 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.psd1 +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.0.1' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '5AB0BA73-DCD1-4EF8-B1DB-D207F97BE199' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ResourceManager/Tags/AzureRM.Tags.psd1 b/src/ResourceManager/Tags/AzureRM.Tags.psd1 index 7d6e69ed92cd..c2cb2f7159ce 100644 --- a/src/ResourceManager/Tags/AzureRM.Tags.psd1 +++ b/src/ResourceManager/Tags/AzureRM.Tags.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '59713673-194f-418a-b1f2-ac60db82edf9' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - Tags' @@ -45,7 +45,7 @@ CLRVersion='4.0' ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }) +RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() 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 index 76b408714958..71043eb83311 100644 --- 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 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '81d522a4-6e5d-4105-8f58-376204c47458' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ResourceManager/TrafficManager/AzureRM.TrafficManager.psd1 b/src/ResourceManager/TrafficManager/AzureRM.TrafficManager.psd1 index 8cbe47a799e4..6425d38a78ba 100644 --- a/src/ResourceManager/TrafficManager/AzureRM.TrafficManager.psd1 +++ b/src/ResourceManager/TrafficManager/AzureRM.TrafficManager.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '59713673-194f-418a-b1f2-ac60db82edf9' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - TrafficManager' @@ -45,7 +45,7 @@ CLRVersion='4.0' ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }) +RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Microsoft.Azure.Commands.TrafficManager.dll-help.psd1 b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Microsoft.Azure.Commands.TrafficManager.dll-help.psd1 index 9795da785e5f..468f29e6f2ce 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Microsoft.Azure.Commands.TrafficManager.dll-help.psd1 +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Microsoft.Azure.Commands.TrafficManager.dll-help.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '?Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ResourceManager/UsageAggregates/AzureRM.UsageAggregates.psd1 b/src/ResourceManager/UsageAggregates/AzureRM.UsageAggregates.psd1 index 7ceaef1553f5..5eba83c03581 100644 --- a/src/ResourceManager/UsageAggregates/AzureRM.UsageAggregates.psd1 +++ b/src/ResourceManager/UsageAggregates/AzureRM.UsageAggregates.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'e43e47c8-8bff-4013-b003-ded1741f403a' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - UsageAggregates' @@ -45,7 +45,7 @@ CLRVersion='4.0' ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }) +RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() diff --git a/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/Microsoft.Azure.Commands.UsageAggregates.dll-help.psd1 b/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/Microsoft.Azure.Commands.UsageAggregates.dll-help.psd1 index e20f473f93f8..37af85403660 100644 --- a/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/Microsoft.Azure.Commands.UsageAggregates.dll-help.psd1 +++ b/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/Microsoft.Azure.Commands.UsageAggregates.dll-help.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '6F8303B1-9298-4E15-AE38-C923C665237A' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '?Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ResourceManager/Websites/AzureRM.Websites.psd1 b/src/ResourceManager/Websites/AzureRM.Websites.psd1 index c4f64c490fba..f9c04da5d9a4 100644 --- a/src/ResourceManager/Websites/AzureRM.Websites.psd1 +++ b/src/ResourceManager/Websites/AzureRM.Websites.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.9.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'cc69c625-e961-43f4-8b50-0061eba6e4b6' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = 'Microsoft Azure PowerShell - Websites' @@ -45,7 +45,7 @@ CLRVersion='4.0' ProcessorArchitecture = 'None' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' }) +RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @() diff --git a/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.psd1 b/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.psd1 index ba5532327599..77cb14b1eaad 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.psd1 +++ b/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '81d522a4-6e5d-4105-8f58-376204c47458' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' 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 index c98c836462f5..9bcf63596c99 100644 --- 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 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '?Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ServiceManagement/Common/Commands.ScenarioTest/Resources/DscExtension/DscExtensionTests.ps1 b/src/ServiceManagement/Common/Commands.ScenarioTest/Resources/DscExtension/DscExtensionTests.ps1 index 734b0cc7f3fb..ed451e4602fe 100644 --- a/src/ServiceManagement/Common/Commands.ScenarioTest/Resources/DscExtension/DscExtensionTests.ps1 +++ b/src/ServiceManagement/Common/Commands.ScenarioTest/Resources/DscExtension/DscExtensionTests.ps1 @@ -1,88 +1,90 @@ <# .SYNOPSIS End to end DSC test that tests Get-AzureVMDscExtension cmdlet. It does the following: - 1) Publishes a configuration to the default storage account using Publish-AzureVMDscConfiguration cmdlet - 2) Installs the extension by calling Set-AzureVMDscExtension cmdlet on a VM. - 3) Calls Get-AzureVMDscExtensionStatus cmdlet to check the status of the extension installation. - 4) Calls Get-AzureVMDscExtension cmdlet to get extension details post installation. + 1) Publishes a configuration to the default storage account using Publish-AzureVMDscConfiguration cmdlet + 2) Installs the extension by calling Set-AzureVMDscExtension cmdlet on a VM. + 3) Calls Get-AzureVMDscExtensionStatus cmdlet to check the status of the extension installation. + 4) Calls Get-AzureVMDscExtension cmdlet to get extension details post installation. #> function Test-GetAzureVMDscExtension { - Set-StrictMode -Version latest; $ErrorActionPreference = 'Stop' + Set-StrictMode -Version latest; $ErrorActionPreference = 'Stop' - # Publish DSC Configuration - # Publish doesnt work on some CI build machines (Still running WMF 4) - #$configPath = '.\Resources\DscExtension\DummyConfig.ps1' - #$StorageAccountName = "dscextensiontest" + # Publish DSC Configuration + # Publish doesnt work on some CI build machines (Still running WMF 4) + #$configPath = '.\Resources\DscExtension\DummyConfig.ps1' + #$StorageAccountName = "dscextensiontest" - #$StorageAccountKey = Get-AzureStorageKey -StorageAccountName $StorageAccountName + #$StorageAccountKey = Get-AzureStorageKey -StorageAccountName $StorageAccountName #$Ctx = New-AzureStorageContext -StorageAccountName $StorageAccountName -StorageAccountKey $StorageAccountKey.Primary - #Publish-AzureVMDscConfiguration -ConfigurationPath $configPath -StorageContext $Ctx -Force -Verbose + #Publish-AzureVMDscConfiguration -ConfigurationPath $configPath -StorageContext $Ctx -Force -Verbose - # Setup - $location = Get-DefaultLocation + # Setup + $location = Get-DefaultLocation $imgName = Get-DefaultImage $location - $storageName = getAssetName + $storageName = getAssetName try - { - New-AzureStorageAccount -StorageAccountName $storageName -Location $location - Set-CurrentStorageAccountName $storageName + { + New-AzureStorageAccount -StorageAccountName $storageName -Location $location + Set-CurrentStorageAccountName $storageName - $vmName = "vm1" - $svcName = Get-CloudServiceName + $vmName = "vm1" + $svcName = Get-CloudServiceName - # Test - New-AzureService -ServiceName $svcName -Location $location - New-AzureQuickVM -Windows -ImageName $imgName -Name $vmName -ServiceName $svcName -AdminUsername "pstestuser" -Password "p@ssw0rd" + # Test + New-AzureService -ServiceName $svcName -Location $location + New-AzureQuickVM -Windows -ImageName $imgName -Name $vmName -ServiceName $svcName -AdminUsername "pstestuser" -Password "p@ssw0rd" - $vm = Get-AzureVM -ServiceName $svcName -Name $vmName + $vm = Get-AzureVM -ServiceName $svcName -Name $vmName - # Install DSC Extension Handler - $version = '2.3' - #$vm = Set-AzureVMDSCExtension -VM $vm -ConfigurationArchive 'DummyConfig.ps1.zip' -ConfigurationName 'DummyConfig' -Verbose - $vm = Set-AzureVMDSCExtension -VM $vm -ConfigurationArchive '' -Version $version -Verbose - $vm | Update-AzureVM -Verbose - - # Call Get-AzureVMDscExtensionStatus to check the status of the installation - [TimeSpan] $timeout = [TimeSpan]::FromMinutes(60) - $maxTime = [datetime]::Now + $timeout - $status = Get-AzureVMDscExtensionStatus -VM $vm + # Install DSC Extension Handler + $version = '2.3' + #$vm = Set-AzureVMDSCExtension -VM $vm -ConfigurationArchive 'DummyConfig.ps1.zip' -ConfigurationName 'DummyConfig' -Verbose + $vm = Set-AzureVMDSCExtension -VM $vm -ConfigurationArchive '' -Version $version -Verbose + $vm | Update-AzureVM -Verbose + + # Call Get-AzureVMDscExtensionStatus to check the status of the installation + [TimeSpan] $timeout = [TimeSpan]::FromMinutes(60) + $maxTime = [datetime]::Now + $timeout + $status = Get-AzureVMDscExtensionStatus -VM $vm - while($true) - { - if($status -ne $null -and $status.Status -ne $null) - { - if(($status.Status -eq "Success") -or ($status.Status -eq "Error")) - { - break; - } - } + while($true) + { + if($status -ne $null -and $status.Status -ne $null) + { + if(($status.Status -eq "Success") -or ($status.Status -eq "Error")) + { + break; + } + } - if([datetime]::Now -gt $maxTime) - { - Throw "The DSC Extension did not report any status within the given timeout from VM [$vmName]" - } + if([datetime]::Now -gt $maxTime) + { + Throw "The DSC Extension did not report any status within the given timeout from VM [$vmName]" + } - sleep -Seconds 15 - $status = Get-AzureVMDscExtensionStatus -VM $vm - } + if ($env:AZURE_TEST_MODE -eq "Record"){ + sleep -Seconds 15 + } + $status = Get-AzureVMDscExtensionStatus -VM $vm + } - # Call Get-AzureVMDscExtension to ensure extension was installed on the VM - $vm = Get-AzureVM -ServiceName $svcName -Name $vmName - $extension = Get-AzureVMDscExtension -VM $vm -Verbose - Assert-NotNull $extension - Assert-NotNull $extension.ExtensionName - Assert-NotNull $extension.Publisher - Assert-NotNull $extension.Version - - # Remove Extension - Remove-AzureVMDscExtension -VM $vm -Verbose - } + # Call Get-AzureVMDscExtension to ensure extension was installed on the VM + $vm = Get-AzureVM -ServiceName $svcName -Name $vmName + $extension = Get-AzureVMDscExtension -VM $vm -Verbose + Assert-NotNull $extension + Assert-NotNull $extension.ExtensionName + Assert-NotNull $extension.Publisher + Assert-NotNull $extension.Version + + # Remove Extension + Remove-AzureVMDscExtension -VM $vm -Verbose + } finally { # Cleanup Remove-AzureStorageAccount -StorageAccountName $storageName -ErrorAction SilentlyContinue - Cleanup-CloudService $svcName + Cleanup-CloudService $svcName } } 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 index 9de8179ec015..02cd21741262 100644 --- 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 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '?Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/PIR.psd1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/PIR.psd1 index 7b6acc6aadce..b4cf49ffdcab 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.9.9' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'a9343cbd-175c-4f72-90c7-2abe9b300644' @@ -24,7 +24,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/AzurePreview.psd1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/AzurePreview.psd1 index 1378afbfe0de..5ffc7307c523 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.9.9' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '1C72E555-E83F-45E4-AED2-AF3278828DCD' @@ -24,7 +24,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' 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 index be1ef35ece98..ab779babf7e5 100644 --- 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 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.0.1' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = '1C72E555-E83F-45E4-AED2-AF3278828DCD' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/BVTTest.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/BVTTest.cs index 520fc058609e..9e891962b837 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/BVTTest.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/BVTTest.cs @@ -379,6 +379,9 @@ public void AzureIaaSBVT() // // Remove-AzureVM // + vmPowershellCmdlets.RemoveAzureVM(newAzureVMName, serviceName, false, true); + Assert.AreNotEqual(null, vmPowershellCmdlets.GetAzureVM(newAzureVMName, serviceName)); + vmPowershellCmdlets.RemoveAzureVM(newAzureVMName, serviceName); RecordTimeTaken(ref prevTime); diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/CredentialHelper.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/CredentialHelper.cs index d7d2bcb8296b..c04882e8c968 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/CredentialHelper.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/CredentialHelper.cs @@ -12,15 +12,17 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.Properties; +using Microsoft.WindowsAzure.Commands.Storage.Common; +using Microsoft.WindowsAzure.Storage.Auth; +using Microsoft.WindowsAzure.Storage.Blob; using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Diagnostics; using System.IO; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.Properties; -using Microsoft.WindowsAzure.Storage.Auth; -using Microsoft.WindowsAzure.Storage.Blob; +using System.Management.Automation; namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests { @@ -263,12 +265,14 @@ public static void CopyTestData(string srcContainer, string srcBlob, string dest // Create a container try { - vmPowershellCmdlets.RunPSScript("Get-AzureStorageContainer -Name " + destContainer); + vmPowershellCmdlets.RunPSScript(String.Format("{0}-{1} -Name {2}", + VerbsCommon.Get, StorageNouns.Container, destContainer)); } catch { // Create a container. - vmPowershellCmdlets.RunPSScript("New-AzureStorageContainer -Name " + destContainer); + vmPowershellCmdlets.RunPSScript(String.Format("{0}-{1} -Name {2}", + VerbsCommon.New, StorageNouns.Container, destContainer)); } // Make SAS Uri for the source blob. @@ -276,12 +280,14 @@ public static void CopyTestData(string srcContainer, string srcBlob, string dest if (string.IsNullOrEmpty(destBlob)) { - vmPowershellCmdlets.RunPSScript(string.Format("Start-AzureStorageBlobCopy -SrcContainer {0} -SrcBlob {1} -DestContainer {2} -Force", srcContainer, srcBlob, destContainer)); + vmPowershellCmdlets.RunPSScript(string.Format("{0}-{1} -SrcContainer {2} -SrcBlob {3} -DestContainer {4} -Force", + VerbsLifecycle.Start, StorageNouns.CopyBlob, srcContainer, srcBlob, destContainer)); destBlob = srcBlob; } else { - vmPowershellCmdlets.RunPSScript(string.Format("Start-AzureStorageBlobCopy -SrcUri \"{0}\" -DestContainer {1} -DestBlob {2} -Force", srcSasUri, destContainer, destBlob)); + vmPowershellCmdlets.RunPSScript(string.Format("{0}-{1} -SrcUri \"{2}\" -DestContainer {3} -DestBlob {4} -Force", + VerbsLifecycle.Start, StorageNouns.CopyBlob, srcSasUri, destContainer, destBlob)); } for (int i = 0; i < 60; i++) diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTestCommonVhd.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTestCommonVhd.cs index f7c661787d10..9863677cd6f6 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTestCommonVhd.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTestCommonVhd.cs @@ -12,14 +12,15 @@ // limitations under the License. // ---------------------------------------------------------------------------------- - +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.ConfigDataInfo; +using Microsoft.WindowsAzure.Commands.Storage.Common; using System; using System.IO; using System.Linq; +using System.Management.Automation; using System.Reflection; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; -using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.ConfigDataInfo; namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests { @@ -166,7 +167,8 @@ public void AzureDiskTest() private void CopyCommonVhd(string vhdContainerName, string vhdName, string myVhdName) { - vmPowershellCmdlets.RunPSScript(string.Format("Start-AzureStorageBlobCopy -SrcContainer {0} -SrcBlob {1} -DestContainer {2} -DestBlob {3}", vhdContainerName, vhdName, vhdContainerName, myVhdName)); + vmPowershellCmdlets.RunPSScript(string.Format("{0}-{1} -SrcContainer {2} -SrcBlob {3} -DestContainer {4} -DestBlob {5}", + VerbsLifecycle.Start, StorageNouns.CopyBlob, vhdContainerName, vhdName, vhdContainerName, myVhdName)); } [TestMethod(), TestCategory(Category.Functional), TestCategory(Category.BVT), TestProperty("Feature", "IAAS"), Priority(1), Owner("hylee"), Description("Test the cmdlet ((Add,Get,Save,Update,Remove)-AzureVMImage)")] diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/RemoveAzureVMCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/RemoveAzureVMCmdletInfo.cs index 8048c1ad0736..39632cbd2990 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/RemoveAzureVMCmdletInfo.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/RemoveAzureVMCmdletInfo.cs @@ -19,7 +19,7 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests { public class RemoveAzureVMCmdletInfo : CmdletsInfo { - public RemoveAzureVMCmdletInfo(string vmName, string serviceName, bool deleteVhd) + public RemoveAzureVMCmdletInfo(string vmName, string serviceName, bool deleteVhd, bool whatif) { this.cmdletName = Utilities.RemoveAzureVMCmdletName; this.cmdletParams.Add(new CmdletParam("Name", vmName)); @@ -29,6 +29,11 @@ public RemoveAzureVMCmdletInfo(string vmName, string serviceName, bool deleteVhd { this.cmdletParams.Add(new CmdletParam("DeleteVhd")); } + + if (whatif) + { + this.cmdletParams.Add(new CmdletParam("WhatIf")); + } } } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementCmdletTestHelper.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementCmdletTestHelper.cs index bddb03530864..f474d6f9d12b 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementCmdletTestHelper.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementCmdletTestHelper.cs @@ -33,6 +33,7 @@ using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PIRCmdletInfo; using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.NetworkCmdletInfo; using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.SubscriptionCmdletInfo; +using Microsoft.WindowsAzure.Commands.Storage.Common; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Management.Network.Models; using Microsoft.WindowsAzure.Storage.Blob; @@ -176,7 +177,8 @@ private Collection RunPSCmdletAndReturnAllHelper(PowershellCore.CmdletsInf public CopyState CheckCopyBlobStatus(string destContainer, string destBlob, bool debug = false) { List st = new List(); - st.Add(string.Format("Get-AzureStorageBlobCopyState -Container {0} -Blob {1}", destContainer, destBlob)); + st.Add(string.Format("{0}-{1} -Container {2} -Blob {3}", + VerbsCommon.Get, StorageNouns.CopyBlobStatus, destContainer, destBlob)); WindowsAzurePowershellScript azurePowershellCmdlet = new WindowsAzurePowershellScript(st); return (CopyState)azurePowershellCmdlet.Run(debug)[0].BaseObject; @@ -1446,9 +1448,9 @@ public SM.PersistentVMRoleContext GetAzureVM(string vmName, string serviceName) return RunPSCmdletAndReturnFirst(new GetAzureVMCmdletInfo(vmName, serviceName)); } - public ManagementOperationContext RemoveAzureVM(string vmName, string serviceName, bool deleteVhd = false) + public ManagementOperationContext RemoveAzureVM(string vmName, string serviceName, bool deleteVhd = false, bool whatif = false) { - return RunPSCmdletAndReturnFirst(new RemoveAzureVMCmdletInfo(vmName, serviceName, deleteVhd)); + return RunPSCmdletAndReturnFirst(new RemoveAzureVMCmdletInfo(vmName, serviceName, deleteVhd, whatif)); } public ManagementOperationContext StartAzureVM(string vmName, string serviceName) @@ -1594,14 +1596,16 @@ public string GetAzureVMImageName(string[] keywords, bool exactMatch = true, int Collection vmImages = GetAzureVMImage(); foreach (SM.OSImageContext image in vmImages) { - if (Utilities.MatchKeywords(image.ImageName, keywords, exactMatch) >= 0 && - ((diskSize == null) || (image.LogicalSizeInGB <= diskSize))) + if (Utilities.MatchKeywords(image.ImageName, keywords, exactMatch) >= 0 + && ((diskSize == null) || (image.LogicalSizeInGB <= diskSize)) + && image.Location.Contains(CredentialHelper.Location)) return image.ImageName; } foreach (SM.OSImageContext image in vmImages) { - if (Utilities.MatchKeywords(image.OS, keywords, exactMatch) >= 0 && - ((diskSize == null) || (image.LogicalSizeInGB <= diskSize))) + if (Utilities.MatchKeywords(image.OS, keywords, exactMatch) >= 0 + && ((diskSize == null) || (image.LogicalSizeInGB <= diskSize)) + && image.Location.Contains(CredentialHelper.Location)) return image.ImageName; } return null; diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/RemoveAzureVM.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/RemoveAzureVM.cs index 5784f1d24125..c5a8d5df9322 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/RemoveAzureVM.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/RemoveAzureVM.cs @@ -23,7 +23,7 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS { - [Cmdlet(VerbsCommon.Remove, "AzureVM"), OutputType(typeof(ManagementOperationContext))] + [Cmdlet(VerbsCommon.Remove, "AzureVM", SupportsShouldProcess = true), OutputType(typeof(ManagementOperationContext))] public class RemoveAzureVMCommand : IaaSDeploymentManagementCmdletBase { [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the role to remove.")] @@ -43,38 +43,41 @@ public SwitchParameter DeleteVHD protected override void ExecuteCommand() { - ServiceManagementProfile.Initialize(); - - base.ExecuteCommand(); - if (CurrentDeploymentNewSM == null) + if (this.ShouldProcess(String.Format("Service: {0}, VM: {1}", this.ServiceName, this.Name), Resources.RemoveAzureVMShouldProcessAction)) { - return; - } + ServiceManagementProfile.Initialize(); - DeploymentGetResponse deploymentGetResponse = this.ComputeClient.Deployments.GetBySlot(this.ServiceName, DeploymentSlot.Production); - if (deploymentGetResponse.Roles.FirstOrDefault(r => r.RoleName.Equals(Name, StringComparison.InvariantCultureIgnoreCase)) == null) - { - throw new ArgumentOutOfRangeException(String.Format(Resources.RoleInstanceCanNotBeFoundWithName, Name)); - } + base.ExecuteCommand(); + if (CurrentDeploymentNewSM == null) + { + return; + } - if (deploymentGetResponse.RoleInstances.Count > 1) - { - ExecuteClientActionNewSM( - null, - CommandRuntime.ToString(), - () => this.ComputeClient.VirtualMachines.Delete(this.ServiceName, CurrentDeploymentNewSM.Name, Name, DeleteVHD.IsPresent)); - } - else - { - if (deploymentGetResponse != null && !string.IsNullOrEmpty(deploymentGetResponse.ReservedIPName)) + DeploymentGetResponse deploymentGetResponse = this.ComputeClient.Deployments.GetBySlot(this.ServiceName, DeploymentSlot.Production); + if (deploymentGetResponse.Roles.FirstOrDefault(r => r.RoleName.Equals(Name, StringComparison.InvariantCultureIgnoreCase)) == null) { - WriteVerboseWithTimestamp(string.Format(Resources.ReservedIPNameNoLongerInUseByDeletingLastVMButStillBeingReserved, deploymentGetResponse.ReservedIPName)); + throw new ArgumentOutOfRangeException(String.Format(Resources.RoleInstanceCanNotBeFoundWithName, Name)); } - ExecuteClientActionNewSM( - null, - CommandRuntime.ToString(), - () => this.ComputeClient.Deployments.DeleteByName(this.ServiceName, CurrentDeploymentNewSM.Name, DeleteVHD.IsPresent)); + if (deploymentGetResponse.RoleInstances.Count > 1) + { + ExecuteClientActionNewSM( + null, + CommandRuntime.ToString(), + () => this.ComputeClient.VirtualMachines.Delete(this.ServiceName, CurrentDeploymentNewSM.Name, Name, DeleteVHD.IsPresent)); + } + else + { + if (deploymentGetResponse != null && !string.IsNullOrEmpty(deploymentGetResponse.ReservedIPName)) + { + WriteVerboseWithTimestamp(string.Format(Resources.ReservedIPNameNoLongerInUseByDeletingLastVMButStillBeingReserved, deploymentGetResponse.ReservedIPName)); + } + + ExecuteClientActionNewSM( + null, + CommandRuntime.ToString(), + () => this.ComputeClient.Deployments.DeleteByName(this.ServiceName, CurrentDeploymentNewSM.Name, DeleteVHD.IsPresent)); + } } } } 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 index 032ac4ea263a..e7af7051e410 100644 --- 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 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '?Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.Designer.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.Designer.cs index f3cb57a9fed3..61587543ea21 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.Designer.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.34014 +// Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -1429,6 +1429,15 @@ public static string RemoveAzureDnsServerWarning { } } + /// + /// Looks up a localized string similar to Deleting VM. + /// + public static string RemoveAzureVMShouldProcessAction { + get { + return ResourceManager.GetString("RemoveAzureVMShouldProcessAction", resourceCulture); + } + } + /// /// Looks up a localized string similar to Remove Reserved IP Association. /// diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.resx b/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.resx index 143942ad19e9..8a6ca4ac560c 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.resx +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.resx @@ -753,4 +753,7 @@ Upload '{0}' {0} is the name of an storage blob + + Deleting VM + \ No newline at end of file diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRoute.psd1 b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRoute.psd1 index 819d8b64094e..382f73b03406 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.9.9' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'e5b10573-30da-456a-9319-4c0a5f8bed4a' @@ -24,7 +24,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' 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 index 8becdea8c4e2..29d5a1f362ae 100644 --- 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 @@ -12,7 +12,7 @@ ModuleToProcess = '..\..\..\Package\Debug\ServiceManagement\Azure\ExpressRoute\Microsoft.WindowsAzure.Commands.ExpressRoute.dll' # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'e5b10573-30da-456a-9319-4c0a5f8bed4a' @@ -24,7 +24,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '� Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' 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 index cb3f443c4aff..9e63ca361531 100644 --- 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 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '?Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' 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 index a57ca0951686..3aafca768a00 100644 --- 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 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '?Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ServiceManagement/Profile/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.dll-Help.psd1 b/src/ServiceManagement/Profile/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.dll-Help.psd1 index acb022d51649..0e82e959e647 100644 --- a/src/ServiceManagement/Profile/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.dll-Help.psd1 +++ b/src/ServiceManagement/Profile/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.dll-Help.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '?Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ServiceManagement/Services/Commands.Test/Profile/NewAzureProfileTests.cs b/src/ServiceManagement/Services/Commands.Test/Profile/NewAzureProfileTests.cs index a5f2f131cb88..d064a4493ab7 100644 --- a/src/ServiceManagement/Services/Commands.Test/Profile/NewAzureProfileTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Profile/NewAzureProfileTests.cs @@ -56,7 +56,7 @@ public void TestMakeRdfeCallWithCreatedProfile() ProfileTestController.NewRdfeInstance.RunPSTestWithToken((context, token) => string.Format("Test-NewAzureProfileInRDFEMode {0} {1} {2}", token, context.Account.Id, context.Subscription.Id)); } - [Fact(Skip = "Hovsep: Move to ARM")] + [Fact(Skip = "PSGet Migration: TODO Move to ARM")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestMakeArmCallWithCreatedProfile() { diff --git a/src/ServiceManagement/Services/Commands.Utilities/Azure.psd1 b/src/ServiceManagement/Services/Commands.Utilities/Azure.psd1 index 2d1cf8c77d68..76ba55606c3d 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.9.9' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' 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 index b35e39091c8b..df4b2f8ce47d 100644 --- 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 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '?Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Microsoft.WindowsAzure.Commands.StorSimple.dll-help.psd1 b/src/ServiceManagement/StorSimple/Commands.StorSimple/Microsoft.WindowsAzure.Commands.StorSimple.dll-help.psd1 index ead8aec13057..69af13d1a088 100644 --- a/src/ServiceManagement/StorSimple/Commands.StorSimple/Microsoft.WindowsAzure.Commands.StorSimple.dll-help.psd1 +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Microsoft.WindowsAzure.Commands.StorSimple.dll-help.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.13' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'd52ed268-64c7-46bd-9cf8-1814d07409f8' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '© Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' 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 index a7e168b3e739..de022ae50496 100644 --- 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 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.8' +ModuleVersion = '0.9.10' # ID used to uniquely identify this module GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' @@ -21,7 +21,7 @@ Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '?Microsoft Corporation. All rights reserved.' +Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = '' diff --git a/tools/Docs/Get-AllCommands/Get-AllCommands.ps1 b/tools/Docs/Get-AllCommands/Get-AllCommands.ps1 index 4664ec2bbb29..cb36ae2468db 100644 --- a/tools/Docs/Get-AllCommands/Get-AllCommands.ps1 +++ b/tools/Docs/Get-AllCommands/Get-AllCommands.ps1 @@ -1,523 +1,681 @@ -function Test-BuildMamlFolder { - - Param - ( - [CmdletBinding()] - [parameter(Mandatory=$true)] - [String] - $MamlFolderPath, - [parameter(Mandatory=$true)] - [String] - $ModuleName - ) - - #$MamlFolderPath = "\\srvua\PSPush2x\Main\DXPowerShellBlue\AGPM_Cmdlets\PSMAML\" - $MamlFileNames = (Get-ChildItem -Path $MamlFolderPath | WHERE { $_.Name -like "*.xml"}).Name - $CmdletCount = 0 - $ParmCount = 0 - $ShortDescCount = 0 - $LongDescCount = 0 - $HelpExCount = 0 - $InputObjectDesccount = 0 - $OutputObjectDesccount = 0 - $MissingContent = 0 - $OutArray = @() - - foreach ($MamlFile in $MamlFileNames) - { - $FullName = $MamlFolderPath + $MamlFile - [xml]$MamlXml = Get-Content $FullName - $CmdletCount += 1 - $WarnCount = 0 - $CmdletName = $MamlXml.command.details.name - $CmdletName = $CmdletName.Trim() - $ShortDescription = $MamlXml.command.details.description.para - - if ($ShortDescription.Length -gt 10 -and $ShortDescription) - { - $ShortDescCount += 1 - } - else - { - if (!$NoWarnings) - { - $OutArray += "No short description for $CmdletName." - $WarnCount += 1 - } - } - - # Long Description - # Updated for PS MAML Files - - $LongDescription = $MamlXml.command.description.para - - if ($LongDescription.Length -gt 10 -and $LongDescription) - { - $LongDescCount += 1 - } - else - { - if (!$NoWarnings) - { - $OutArray += "No long description for $CmdletName." - $WarnCount += 1 - } - - } - - # PS MAML Examples Count Check - #Updated for PS MAML Files - - $MamlExamples = $MamlXml.command.examples.example - - if($MamlExamples) - { - ForEach($Example in $MamlExamples) - { - $ExCount += 1 - if(!$Example.title) - { - $OutArray += "No example title found for an example in $CmdletName." - } - if(!$Example.introduction.para) - { - $OutArray += "No example introduction found for an example in $CmdletName." - } - if(!$Example.code) - { - $OutArray += "No example code found for an example in $CmdletName." - } - - } - } - else - { - $OutArray += "No examples found for $CmdletName." - } - - - #Cmdlet Input Object Description - #Updated for PS MAML Files - - $InputObjects = $MamlXml.command.inputTypes.inputType - if($InputObjects) - { - foreach($InputObj in $InputObjects) - { - $inputObjName = $InputObj.type.name - if ($inputObj.description.para.innertext) - { - $InputObjectDesccount += 1 - } - else - { - if (!$NoWarnings) - { - $OutArray += "No input object description for $inputObjName in $CmdletName" - $WarnCount += 1 - } - } - } - } - - #PS MAML Output Object Description - #Updated for PS MAML Files - $OutPutObjects = $MamlXml.command.returnValues.returnValue - if($OutPutObjects) - { - foreach($outputObj in $OutPutObjects) - { - $outputObjName = $outputObj.type.name - if ($outputObj.description.para.innertext) - { - $OutputObjectDesccount += 1 - } - else - { - if (!$NoWarnings) - { - $OutArray += "No output object description for $outputObjName in $CmdletName" - $WarnCount += 1 - } - } - } - } - # Parameter Descriptions - #Updated for PS MAML Files - $Parameters = $MamlXml.command.parameters.parameter - - foreach ($parm in $Parameters) - { - $ParmCount += 1 - $ParmName = $parm.Name - if ($parm.Description) - { - $ParmDescCount += 1 - } - else - { - if (!$NoWarnings) - { - $OutArray += "No parameter description for $CmdletName -$ParmName." - $WarnCount += 1 - } - } - } - #Evaluates Missing Elements - if ($WarnCount -ne 0) - { - $MissingContent +=1 - } - } - - if($MissingContent -gt 0) - { - $OutFileName = ($MamlFolderPath + " \..\..\..\" + $ModuleName + "_Report_MISSING_CONTENT.txt") - } - else - { - $OutFileName = ($MamlFolderPath + " \..\..\..\" + $ModuleName + "_Report.txt") - } - - - #Computation of Percentage Complete - $fShortDescPercent = "{0:P1}" -f ($ShortDescCount/$CmdletCount) - $fLongDescPercent = "{0:P1}" -f ($LongDescCount/$CmdletCount) - $fExPercent = "{0:P1}" -f ($ExCount/$CmdletCount) - $fParmDescPercent = "{0:P1}" -f ($ParmDescCount/$ParmCount) - $fMissingContentPercent = "{0:P1}" -f ($MissingContent/$CmdletCount) - $fInputObject = "{0:P1}" -f ($InputObjectDesccount/$CmdletCount) - $fOutputObjectDesc = "{0:P1}" -f ($OutputObjectDesccount/$CmdletCount) - - ###Report Output into PowerShell Host - #Header Message - $OutArray += "`nReport Summary" - $OutArray += "--------------" - $OutArray += "Folder Path: $MamlFolderPath" - $OutArray += "Commands: $CmdletCount" - $OutArray += "Parameters: $ParmCount" - - #Short Desc Message - $ShortDescMessage = "Short Descriptions: $ShortDescCount ( $fShortDescPercent )" - if($fShortDescPercent -eq '100.0 %'){ $OutArray += $ShortDescMessage } - else - { $OutArray += $ShortDescMessage } - - #Long Desc Message - $LongDescMessage = "Long Descriptions: $LongDescCount ( $fLongDescPercent )" - if($fLongDescPercent -eq '100.0 %'){$OutArray += "Long Descriptions: $LongDescCount ( $fLongDescPercent )" } - else - { $OutArray += $LongDescMessage } - - #Example Message - $ExamplesMessage = "Examples: $ExCount ( $fExPercent )" - if($fExPercent -eq '100.0 %'){$OutArray += $ExamplesMessage } - else - { $OutArray += $ExamplesMessage } - $OutArray += " Minimum Required: $CmdletCount" - - #Input Object Message - $InputObjectMessage = "Input Objects: $InputObjectDesccount ( $fInputObject )" - if($fInputObject -eq '100.0 %'){ $OutArray += $InputObjectMessage } - else - { $OutArray += $InputObjectMessage } - - #Output Object Message - $OutputObjectMessage = "Output Object: $OutputObjectDesccount ( $fOutputObjectDesc )" - if($fOutputObjectDesc -eq '100.0 %'){ $OutArray += $OutputObjectMessage } - else - { $OutArray += $OutputObjectMessage } - - #Parameter Messaage - $ParameterMessage = "Parameter Descriptions: $ParmDescCount ( $fParmDescPercent )" - if($fParmDescPercent -eq '100.0 %'){ $OutArray += $ParameterMessage } - else - { $OutArray += $ParameterMessage } - - #Error & Closing Message - $OutArray += "Number of cmdlets missing content: $MissingContent ( $fMissingContentPercent )" - $OutArray += "--------------" - $OutArray | Out-File -FilePath $OutFileName +function Test-BuildMamlFolder { + + Param + ( + [CmdletBinding()] + [parameter(Mandatory=$true)] + [String] + $MamlFolderPath, + [parameter(Mandatory=$true)] + [String] + $ModuleName, + [parameter(Mandatory=$false)] + [string[]] + $MissingCommands + ) + + #$MamlFolderPath = "\\srvua\PSPush2x\Main\DXPowerShellBlue\AGPM_Cmdlets\PSMAML\" + $MamlFileNames = (Get-ChildItem -Path $MamlFolderPath | WHERE { $_.Name -like "*.xml"}).Name + + $CmdletCount = 0 + $ParmCount = 0 + $ShortDescCount = 0 + $LongDescCount = 0 + $HelpExCount = 0 + $InputObjectDesccount = 0 + $OutputObjectDesccount = 0 + $MissingContent = 0 + + $jsonObject = New-Object -TypeName psobject + $jsonObject | Add-Member -MemberType NoteProperty -Name "ModuleHelpFound" -Value "true" + + $OutArray = @() + if($MissingCommands) + { + $array = $MissingCommands.Split(',') + $missingCommandsJsonObject = New-Object -TypeName psobject + + foreach($missingCommand in $array) + { + $missingCommandsJsonObject | Add-Member -MemberType NoteProperty -Name $missingCommand -Value 0 -Force + } + + $jsonObject | Add-Member -MemberType NoteProperty -Name "MissingCommands" -Value $missingCommandsJsonObject -Force + } + + foreach ($MamlFile in $MamlFileNames) + { + + $internalJsonObject = New-Object -TypeName psobject + + $FullName = $MamlFolderPath + $MamlFile + + [xml]$MamlXml = Get-Content $FullName + + $CmdletCount += 1 + $WarnCount = 0 + + $CmdletName = $MamlXml.command.details.name + $CmdletName = $CmdletName.Trim() + + + # Short Description + # Updated for PS MAML Files + + $ShortDescription = $MamlXml.command.details.description.para + + if ($ShortDescription.Length -gt 10 -and $ShortDescription) + { + $ShortDescCount += 1 + } + else + { + if (!$NoWarnings) + { + $OutArray += "No short description for $CmdletName." + $WarnCount += 1 + $internalJsonObject | Add-Member -MemberType NoteProperty -Name 'ShortDescription' -value 1 -Force + + } + } + + # Long Description + # Updated for PS MAML Files + + $LongDescription = $MamlXml.command.description.para + if ($LongDescription.Length -gt 10 -and $LongDescription) + { + $LongDescCount += 1 + } + else + { + if (!$NoWarnings) + { + $OutArray += "No long description for $CmdletName." + $WarnCount += 1 + $internalJsonObject | Add-Member -MemberType NoteProperty -Name 'LongDescription' -value 1 -Force + } + } + + # PS MAML Examples Count Check + #Updated for PS MAML Files + + $MamlExamples = $MamlXml.command.examples.example + + if($MamlExamples) + { + $ExNumber = 0 + ForEach($Example in $MamlExamples) + { + $ExCount += 1 + $ExNumber += 1 + $ExampleNumber = "Example" + $ExNumber + + if(!$Example.title) + { + $OutArray += "No example title found for an example in $CmdletName." + $internalJsonObject | Add-Member -MemberType NoteProperty -Name ($ExampleNumber + "_Title") -value 1 -Force + } + if(!$Example.introduction.para) + { + $OutArray += "No example introduction found for an example in $CmdletName." + $internalJsonObject | Add-Member -MemberType NoteProperty -Name ($ExampleNumber + "_Introduction") -value 3 -Force + } + if(!$Example.code) + { + $OutArray += "No example code found for an example in $CmdletName." + $internalJsonObject | Add-Member -MemberType NoteProperty -Name ($ExampleNumber + "_Code") -value 1 -Force + } + } + } + else + { + $OutArray += "No examples found for $CmdletName." + $internalJsonObject | Add-Member -MemberType NoteProperty -Name "Examples" -value 0 -Force + } + + #Cmdlet Input Object Description + #Updated for PS MAML Files + $InputObjects = $MamlXml.command.inputTypes.inputType + + if($InputObjects) + { + foreach($InputObj in $InputObjects) + { + $inputObjName = $InputObj.type.name + if ($inputObj.description.para.innertext) + { + $InputObjectDesccount += 1 + } + else + { + if (!$NoWarnings) + { + $OutArray += "No input object description for $inputObjName in $CmdletName" + $internalJsonObject | Add-Member -MemberType NoteProperty -Name "InputObject" -value 1 -Force + $WarnCount += 1 + } + } + } + } + + + #PS MAML Output Object Description + #Updated for PS MAML Files + + $OutPutObjects = $MamlXml.command.returnValues.returnValue + if($OutPutObjects) + { + foreach($outputObj in $OutPutObjects) + { + $outputObjName = $outputObj.type.name + if ($outputObj.description.para.innertext) + { + $OutputObjectDesccount += 1 + } + else + { + if (!$NoWarnings) + { + $OutArray += "No output object description for $outputObjName in $CmdletName" + $WarnCount += 1 + $internalJsonObject | Add-Member -MemberType NoteProperty -Name "OutputObject" -value 1 -Force + } + } + } + } + + # Parameter Descriptions + #Updated for PS MAML Files + $Parameters = $MamlXml.command.parameters.parameter + + foreach ($parm in $Parameters) + { + $ParmCount += 1 + $ParmName = $parm.Name + if ($parm.Description) + { + $ParmDescCount += 1 + } + else + { + if (!$NoWarnings) + { + $OutArray += "No parameter description for $CmdletName -$ParmName." + $WarnCount += 1 + $internalJsonObject | Add-Member -MemberType NoteProperty -Name "Parameter_$ParmName" -value 1 -Force + } + } + } + + #Evaluates Missing Elements + + if ($WarnCount -ne 0) + { + $MissingContent +=1 + $jsonObject | Add-Member -MemberType NoteProperty -Value $internalJsonObject -Name $CmdletName -Force + } + } + + if($MissingContent -gt 0) + { + $OutFileName = ($MamlFolderPath + " \..\..\..\" + $ModuleName + "_Report_MISSING_CONTENT.txt") + } + else + { + $OutFileName = ($MamlFolderPath + " \..\..\..\" + $ModuleName + "_Report.txt") + } + + #Computation of Percentage Complete + $fShortDescPercent = "{0:P1}" -f ($ShortDescCount/$CmdletCount) + $fLongDescPercent = "{0:P1}" -f ($LongDescCount/$CmdletCount) + $fExPercent = "{0:P1}" -f ($ExCount/$CmdletCount) + $fParmDescPercent = "{0:P1}" -f ($ParmDescCount/$ParmCount) + $fMissingContentPercent = "{0:P1}" -f ($MissingContent/$CmdletCount) + $fInputObject = "{0:P1}" -f ($InputObjectDesccount/$CmdletCount) + $fOutputObjectDesc = "{0:P1}" -f ($OutputObjectDesccount/$CmdletCount) + + ###Report Output into PowerShell Host + #Header Message + $OutArray += "`nReport Summary" + $OutArray += "--------------" + $OutArray += "Folder Path: $MamlFolderPath" + $OutArray += "Commands: $CmdletCount" + $OutArray += "Parameters: $ParmCount" + + #Short Desc Message + $ShortDescMessage = "Short Descriptions: $ShortDescCount ( $fShortDescPercent )" + if($fShortDescPercent -eq '100.0 %') + { + $OutArray += $ShortDescMessage + } + else + { + $OutArray += $ShortDescMessage + } + + #Long Desc Message + $LongDescMessage = "Long Descriptions: $LongDescCount ( $fLongDescPercent )" + if($fLongDescPercent -eq '100.0 %') + { + $OutArray += "Long Descriptions: $LongDescCount ( $fLongDescPercent )" + } + else + { + $OutArray += $LongDescMessage + } + + #Example Message + $ExamplesMessage = "Examples: $ExCount ( $fExPercent )" + if($fExPercent -eq '100.0 %') + { + $OutArray += $ExamplesMessage + } + else + { + $OutArray += $ExamplesMessage + } + $OutArray += " Minimum Required: $CmdletCount" + + #Input Object Message + $InputObjectMessage = "Input Objects: $InputObjectDesccount ( $fInputObject )" + if($fInputObject -eq '100.0 %') + { + $OutArray += $InputObjectMessage + } + else + { + $OutArray += $InputObjectMessage + } + + #Output Object Message + $OutputObjectMessage = "Output Object: $OutputObjectDesccount ( $fOutputObjectDesc )" + if($fOutputObjectDesc -eq '100.0 %') + { + $OutArray += $OutputObjectMessage + } + else + { + $OutArray += $OutputObjectMessage + } + + #Parameter Messaage + $ParameterMessage = "Parameter Descriptions: $ParmDescCount ( $fParmDescPercent )" + if($fParmDescPercent -eq '100.0 %') + { + $OutArray += $ParameterMessage + } + else + { + $OutArray += $ParameterMessage + } + + #Error & Closing Message + $OutArray += "Number of cmdlets missing content: $MissingContent ( $fMissingContentPercent )" + $OutArray += "--------------" + $OutArray | Out-File -FilePath $OutFileName + + if(($MissingCommands.Count -gt 0) -or ($MissingContent -gt 0)) + { + $OutFileName = ($MamlFolderPath + " \..\..\..\" + $ModuleName + ".json") + $jsonObject | ConvertTo-Json -Depth 10 | Out-file $OutFileName + } } function Split-HelpFiles { - [Cmdletbinding()] - Param - ( - [parameter(Mandatory=$true)] - [String] - $InputXML, - - [parameter(Mandatory=$true)] - [String] - $OutputPath - ) - - $namespace = @{command="http://schemas.microsoft.com/maml/dev/command/2004/10"; maml="http://schemas.microsoft.com/maml/2004/10"; dev="http://schemas.microsoft.com/maml/dev/2004/10"} - - if (!(test-path $OutputPath)) { mkdir $OutputPath } - if (dir $InputXML | select-string "